Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
9385b576
Commit
9385b576
authored
Sep 27, 2013
by
Will Daly
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1143 from edx/will/skip-tests-with-comments
Use comments to skip tests instead of a tag
parents
ef6d58ae
3c88ccb4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
107 additions
and
115 deletions
+107
-115
cms/djangoapps/contentstore/features/component.feature
+63
-65
cms/djangoapps/contentstore/features/course-overview.feature
+1
-1
lms/djangoapps/courseware/features/certificates.feature
+42
-48
rakelib/acceptance_test.rake
+1
-1
No files found.
cms/djangoapps/contentstore/features/component.feature
View file @
9385b576
...
...
@@ -2,72 +2,70 @@
Feature
:
CMS.Component Adding
As a course author, I want to be able to add a wide variety of components
@skip
Scenario
:
I
can add components
Given
I have opened a new course in studio
And
I am editing a new unit
When I add the following components
:
|
Component
|
|
Discussion
|
|
Blank
HTML
|
|
LaTex
|
|
Blank
Problem
|
|
Dropdown
|
|
Multi
Choice
|
|
Numerical
|
|
Text
Input
|
|
Advanced
|
|
Circuit
|
|
Custom
Python
|
|
Image
Mapped
|
|
Math
Input
|
|
Problem
LaTex
|
|
Adaptive
Hint
|
|
Video
|
Then I see the following components
:
|
Component
|
|
Discussion
|
|
Blank
HTML
|
|
LaTex
|
|
Blank
Problem
|
|
Dropdown
|
|
Multi
Choice
|
|
Numerical
|
|
Text
Input
|
|
Advanced
|
|
Circuit
|
|
Custom
Python
|
|
Image
Mapped
|
|
Math
Input
|
|
Problem
LaTex
|
|
Adaptive
Hint
|
|
Video
|
#Scenario: I can add components
# Given I have opened a new course in studio
# And I am editing a new unit
# When I add the following components:
# | Component |
# | Discussion |
# | Blank HTML |
# | LaTex |
# | Blank Problem|
# | Dropdown |
# | Multi Choice |
# | Numerical |
# | Text Input |
# | Advanced |
# | Circuit |
# | Custom Python|
# | Image Mapped |
# | Math Input |
# | Problem LaTex|
# | Adaptive Hint|
# | Video |
# Then I see the following components:
# | Component |
# | Discussion |
# | Blank HTML |
# | LaTex |
# | Blank Problem|
# | Dropdown |
# | Multi Choice |
# | Numerical |
# | Text Input |
# | Advanced |
# | Circuit |
# | Custom Python|
# | Image Mapped |
# | Math Input |
# | Problem LaTex|
# | Adaptive Hint|
# | Video |
@skip
Scenario
:
I
can delete Components
Given
I have opened a new course in studio
And
I am editing a new unit
And I add the following components
:
|
Component
|
|
Discussion
|
|
Blank
HTML
|
|
LaTex
|
|
Blank
Problem
|
|
Dropdown
|
|
Multi
Choice
|
|
Numerical
|
|
Text
Input
|
|
Advanced
|
|
Circuit
|
|
Custom
Python
|
|
Image
Mapped
|
|
Math
Input
|
|
Problem
LaTex
|
|
Adaptive
Hint
|
|
Video
|
When
I will confirm all alerts
And
I delete all components
Then
I see no components
#Scenario: I can delete Components
# Given I have opened a new course in studio
# And I am editing a new unit
# And I add the following components:
# | Component |
# | Discussion |
# | Blank HTML |
# | LaTex |
# | Blank Problem|
# | Dropdown |
# | Multi Choice |
# | Numerical |
# | Text Input |
# | Advanced |
# | Circuit |
# | Custom Python|
# | Image Mapped |
# | Math Input |
# | Problem LaTex|
# | Adaptive Hint|
# | Video |
# When I will confirm all alerts
# And I delete all components
# Then I see no components
Scenario
:
I
see a prompt on delete
Given
I have opened a new course in studio
...
...
cms/djangoapps/contentstore/features/course-overview.feature
View file @
9385b576
...
...
@@ -69,7 +69,7 @@ Feature: CMS.Course Overview
# Safari does not have moveMouseTo implemented
@skip_internetexplorer
@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
And
I have added a new subsection
And
I have added a new subsection
...
...
lms/djangoapps/courseware/features/certificates.feature
View file @
9385b576
...
...
@@ -11,59 +11,54 @@ Feature: LMS.Verified certificates
# There is currently no way to avoid trying to upload
# the photos to S3 for processing
@skip
Scenario
:
I
can submit photos to verify my identity
Given
I am logged in
When
I select the verified track
And
I go to step
"1"
And
I capture my
"face"
photo
And
I approve my
"face"
photo
And
I go to step
"2"
And
I capture my
"photo_id"
photo
And
I approve my
"photo_id"
photo
And
I go to step
"3"
And
I select a contribution amount
And
I confirm that the details match
And
I go to step
"4"
Then
I am at the payment page
#Scenario: I can submit photos to verify my identity
# Given I am logged in
# When I select the verified track
# And I go to step "1"
# And I capture my "face" photo
# And I approve my "face" photo
# And I go to step "2"
# And I capture my "photo_id" photo
# And I approve my "photo_id" photo
# And I go to step "3"
# And I select a contribution amount
# And I confirm that the details match
# And I go to step "4"
# Then I am at the payment page
# There is currently no way to avoid trying to upload
# the photos to S3 for processing
@skip
Scenario
:
I
can pay for a verified certificate
Given
I have submitted photos to verify my identity
When
I submit valid payment information
Then
I see that my payment was successful
#Scenario: I can pay for a verified certificate
# Given I have submitted photos to verify my identity
# When I submit valid payment information
# Then I see that my payment was successful
# There is currently no way to avoid trying to upload
# the photos to S3 for processing
@skip
Scenario
:
Verified courses display correctly on dashboard
Given
I have submitted photos to verify my identity
When
I submit valid payment information
And
I navigate to my dashboard
Then
I see the course on my dashboard
And
I see that I am on the verified track
#Scenario: Verified courses display correctly on dashboard
# Given I have submitted photos to verify my identity
# When I submit valid payment information
# And I navigate to my dashboard
# Then I see the course on my dashboard
# And I see that I am on the verified track
# Not easily automated
@skip
Scenario
:
I
can re-take photos
Given
I have submitted my
"<PhotoType>"
photo
When
I retake my
"<PhotoType>"
photo
Then
I see the new photo on the confirmation page.
Examples
:
|
PhotoType
|
|
face
|
|
ID
|
#Scenario: I can re-take photos
# Given I have submitted my "<PhotoType>" photo
# When I retake my "<PhotoType>" photo
# Then I see the new photo on the confirmation page.
#
# Examples:
# | PhotoType |
# | face |
# | ID |
# Not yet implemented LMS-983
@skip
Scenario
:
I
can edit identity information
Given
I have submitted face and ID photos
When
I edit my name
Then
I see the new name on the confirmation page.
#Scenario: I can edit identity information
# Given I have submitted face and ID photos
# When I edit my name
# Then I see the new name on the confirmation page.
Scenario
:
I
can return to the verify flow
Given
I have submitted photos to verify my identity
...
...
@@ -71,12 +66,11 @@ Feature: LMS.Verified certificates
Then
I am at the verified page
# Currently broken LMS-1009
@skip
Scenario
:
I
can pay from the return flow
Given
I have submitted photos to verify my identity
When
I leave the flow and return
And
I press the payment button
Then
I am at the payment page
#Scenario: I can pay from the return flow
# Given I have submitted photos to verify my identity
# When I leave the flow and return
# And I press the payment button
# Then I am at the payment page
Scenario
:
I
can take a verified certificate course for free
Given
I am logged in
...
...
rakelib/acceptance_test.rake
View file @
9385b576
...
...
@@ -9,7 +9,7 @@ def run_acceptance_tests(system, harvest_args)
report_file
=
File
.
join
(
ACCEPTANCE_REPORT_DIR
,
"
#{
system
}
.xml"
)
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
task
:setup_acceptance_db
do
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment