Commit 3c88ccb4 by Will Daly

Use comments to skip tests instead of a tag

parent 2379e7c3
...@@ -2,72 +2,70 @@ ...@@ -2,72 +2,70 @@
Feature: CMS.Component Adding Feature: CMS.Component Adding
As a course author, I want to be able to add a wide variety of components As a course author, I want to be able to add a wide variety of components
@skip #Scenario: I can add components
Scenario: I can add components # Given I have opened a new course in studio
Given I have opened a new course in studio # And I am editing a new unit
And I am editing a new unit # When I add the following components:
When I add the following components: # | Component |
| Component | # | Discussion |
| Discussion | # | Blank HTML |
| Blank HTML | # | LaTex |
| LaTex | # | Blank Problem|
| Blank Problem| # | Dropdown |
| Dropdown | # | Multi Choice |
| Multi Choice | # | Numerical |
| Numerical | # | Text Input |
| Text Input | # | Advanced |
| Advanced | # | Circuit |
| Circuit | # | Custom Python|
| Custom Python| # | Image Mapped |
| Image Mapped | # | Math Input |
| Math Input | # | Problem LaTex|
| Problem LaTex| # | Adaptive Hint|
| Adaptive Hint| # | Video |
| Video | # Then I see the following components:
Then I see the following components: # | Component |
| Component | # | Discussion |
| Discussion | # | Blank HTML |
| Blank HTML | # | LaTex |
| LaTex | # | Blank Problem|
| Blank Problem| # | Dropdown |
| Dropdown | # | Multi Choice |
| Multi Choice | # | Numerical |
| Numerical | # | Text Input |
| Text Input | # | Advanced |
| Advanced | # | Circuit |
| Circuit | # | Custom Python|
| Custom Python| # | Image Mapped |
| Image Mapped | # | Math Input |
| Math Input | # | Problem LaTex|
| Problem LaTex| # | Adaptive Hint|
| Adaptive Hint| # | Video |
| Video |
@skip #Scenario: I can delete Components
Scenario: I can delete Components # Given I have opened a new course in studio
Given I have opened a new course in studio # And I am editing a new unit
And I am editing a new unit # And I add the following components:
And I add the following components: # | Component |
| Component | # | Discussion |
| Discussion | # | Blank HTML |
| Blank HTML | # | LaTex |
| LaTex | # | Blank Problem|
| Blank Problem| # | Dropdown |
| Dropdown | # | Multi Choice |
| Multi Choice | # | Numerical |
| Numerical | # | Text Input |
| Text Input | # | Advanced |
| Advanced | # | Circuit |
| Circuit | # | Custom Python|
| Custom Python| # | Image Mapped |
| Image Mapped | # | Math Input |
| Math Input | # | Problem LaTex|
| Problem LaTex| # | Adaptive Hint|
| Adaptive Hint| # | Video |
| Video | # When I will confirm all alerts
When I will confirm all alerts # And I delete all components
And I delete all components # Then I see no components
Then I see no components
Scenario: I see a prompt on delete Scenario: I see a prompt on delete
Given I have opened a new course in studio Given I have opened a new course in studio
......
...@@ -69,7 +69,7 @@ Feature: CMS.Course Overview ...@@ -69,7 +69,7 @@ Feature: CMS.Course Overview
# Safari does not have moveMouseTo implemented # Safari does not have moveMouseTo implemented
@skip_internetexplorer @skip_internetexplorer
@skip_safari @skip_safari
Scenario: Notification is shown on subsection reorder Scenario: Notification is shown on subsection reorder
Given I have opened a new course section in Studio Given I have opened a new course section in Studio
And I have added a new subsection And I have added a new subsection
And I have added a new subsection And I have added a new subsection
......
...@@ -11,59 +11,54 @@ Feature: LMS.Verified certificates ...@@ -11,59 +11,54 @@ Feature: LMS.Verified certificates
# There is currently no way to avoid trying to upload # There is currently no way to avoid trying to upload
# the photos to S3 for processing # the photos to S3 for processing
@skip #Scenario: I can submit photos to verify my identity
Scenario: I can submit photos to verify my identity # Given I am logged in
Given I am logged in # When I select the verified track
When I select the verified track # And I go to step "1"
And I go to step "1" # And I capture my "face" photo
And I capture my "face" photo # And I approve my "face" photo
And I approve my "face" photo # And I go to step "2"
And I go to step "2" # And I capture my "photo_id" photo
And I capture my "photo_id" photo # And I approve my "photo_id" photo
And I approve my "photo_id" photo # And I go to step "3"
And I go to step "3" # And I select a contribution amount
And I select a contribution amount # And I confirm that the details match
And I confirm that the details match # And I go to step "4"
And I go to step "4" # Then I am at the payment page
Then I am at the payment page
# There is currently no way to avoid trying to upload # There is currently no way to avoid trying to upload
# the photos to S3 for processing # the photos to S3 for processing
@skip #Scenario: I can pay for a verified certificate
Scenario: I can pay for a verified certificate # Given I have submitted photos to verify my identity
Given I have submitted photos to verify my identity # When I submit valid payment information
When I submit valid payment information # Then I see that my payment was successful
Then I see that my payment was successful
# There is currently no way to avoid trying to upload # There is currently no way to avoid trying to upload
# the photos to S3 for processing # the photos to S3 for processing
@skip #Scenario: Verified courses display correctly on dashboard
Scenario: Verified courses display correctly on dashboard # Given I have submitted photos to verify my identity
Given I have submitted photos to verify my identity # When I submit valid payment information
When I submit valid payment information # And I navigate to my dashboard
And I navigate to my dashboard # Then I see the course on my dashboard
Then I see the course on my dashboard # And I see that I am on the verified track
And I see that I am on the verified track
# Not easily automated # Not easily automated
@skip #Scenario: I can re-take photos
Scenario: I can re-take photos # Given I have submitted my "<PhotoType>" photo
Given I have submitted my "<PhotoType>" photo # When I retake my "<PhotoType>" photo
When I retake my "<PhotoType>" photo # Then I see the new photo on the confirmation page.
Then I see the new photo on the confirmation page. #
# Examples:
Examples: # | PhotoType |
| PhotoType | # | face |
| face | # | ID |
| ID |
# Not yet implemented LMS-983 # Not yet implemented LMS-983
@skip #Scenario: I can edit identity information
Scenario: I can edit identity information # Given I have submitted face and ID photos
Given I have submitted face and ID photos # When I edit my name
When I edit my name # Then I see the new name on the confirmation page.
Then I see the new name on the confirmation page.
Scenario: I can return to the verify flow Scenario: I can return to the verify flow
Given I have submitted photos to verify my identity Given I have submitted photos to verify my identity
...@@ -71,12 +66,11 @@ Feature: LMS.Verified certificates ...@@ -71,12 +66,11 @@ Feature: LMS.Verified certificates
Then I am at the verified page Then I am at the verified page
# Currently broken LMS-1009 # Currently broken LMS-1009
@skip #Scenario: I can pay from the return flow
Scenario: I can pay from the return flow # Given I have submitted photos to verify my identity
Given I have submitted photos to verify my identity # When I leave the flow and return
When I leave the flow and return # And I press the payment button
And I press the payment button # Then I am at the payment page
Then I am at the payment page
Scenario: I can take a verified certificate course for free Scenario: I can take a verified certificate course for free
Given I am logged in Given I am logged in
......
...@@ -9,7 +9,7 @@ def run_acceptance_tests(system, harvest_args) ...@@ -9,7 +9,7 @@ def run_acceptance_tests(system, harvest_args)
report_file = File.join(ACCEPTANCE_REPORT_DIR, "#{system}.xml") report_file = File.join(ACCEPTANCE_REPORT_DIR, "#{system}.xml")
report_args = "--with-xunit --xunit-file #{report_file}" report_args = "--with-xunit --xunit-file #{report_file}"
test_sh(django_admin(system, 'acceptance', 'harvest', '--debug-mode', '--verbosity 2', '--tag -skip', report_args, harvest_args)) test_sh(django_admin(system, 'acceptance', 'harvest', '--debug-mode', '--verbosity 2', report_args, harvest_args))
end end
task :setup_acceptance_db do task :setup_acceptance_db do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment