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
29ce700d
Commit
29ce700d
authored
Apr 17, 2013
by
Jay Zoldak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tag CMS lettuce tests with @skip-phantom if they aren't working under phantomjs right now.
parent
0426761b
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
33 additions
and
24 deletions
+33
-24
cms/djangoapps/contentstore/features/advanced-settings.feature
+4
-0
cms/djangoapps/contentstore/features/course-settings.feature
+3
-0
cms/djangoapps/contentstore/features/section.feature
+1
-0
cms/djangoapps/contentstore/features/studio-overview-togglesection.feature
+16
-16
cms/djangoapps/contentstore/features/subsection.feature
+9
-8
No files found.
cms/djangoapps/contentstore/features/advanced-settings.feature
View file @
29ce700d
...
@@ -11,6 +11,7 @@ Feature: Advanced (manual) course policy
...
@@ -11,6 +11,7 @@ Feature: Advanced (manual) course policy
Given
I am on the Advanced Course Settings page in Studio
Given
I am on the Advanced Course Settings page in Studio
Then
the settings are alphabetized
Then
the settings are alphabetized
@skip-phantom
Scenario
:
Test cancel editing key value
Scenario
:
Test cancel editing key value
Given
I am on the Advanced Course Settings page in Studio
Given
I am on the Advanced Course Settings page in Studio
When
I edit the value of a policy key
When
I edit the value of a policy key
...
@@ -19,6 +20,7 @@ Feature: Advanced (manual) course policy
...
@@ -19,6 +20,7 @@ Feature: Advanced (manual) course policy
And
I reload the page
And
I reload the page
Then
the policy key value is unchanged
Then
the policy key value is unchanged
@skip-phantom
Scenario
:
Test editing key value
Scenario
:
Test editing key value
Given
I am on the Advanced Course Settings page in Studio
Given
I am on the Advanced Course Settings page in Studio
When
I edit the value of a policy key and save
When
I edit the value of a policy key and save
...
@@ -26,6 +28,7 @@ Feature: Advanced (manual) course policy
...
@@ -26,6 +28,7 @@ Feature: Advanced (manual) course policy
And
I reload the page
And
I reload the page
Then
the policy key value is changed
Then
the policy key value is changed
@skip-phantom
Scenario
:
Test how multi-line input appears
Scenario
:
Test how multi-line input appears
Given
I am on the Advanced Course Settings page in Studio
Given
I am on the Advanced Course Settings page in Studio
When
I create a JSON object as a value
When
I create a JSON object as a value
...
@@ -33,6 +36,7 @@ Feature: Advanced (manual) course policy
...
@@ -33,6 +36,7 @@ Feature: Advanced (manual) course policy
And
I reload the page
And
I reload the page
Then
it is displayed as formatted
Then
it is displayed as formatted
@skip-phantom
Scenario
:
Test automatic quoting of non-JSON values
Scenario
:
Test automatic quoting of non-JSON values
Given
I am on the Advanced Course Settings page in Studio
Given
I am on the Advanced Course Settings page in Studio
When
I create a non-JSON value not in quotes
When
I create a non-JSON value not in quotes
...
...
cms/djangoapps/contentstore/features/course-settings.feature
View file @
29ce700d
Feature
:
Course Settings
Feature
:
Course Settings
As a course author, I want to be able to configure my course settings.
As a course author, I want to be able to configure my course settings.
@skip-phantom
Scenario
:
User can set course dates
Scenario
:
User can set course dates
Given
I have opened a new course in Studio
Given
I have opened a new course in Studio
When
I select Schedule and Details
When
I select Schedule and Details
And
I set course dates
And
I set course dates
Then
I see the set dates on refresh
Then
I see the set dates on refresh
@skip-phantom
Scenario
:
User can clear previously set course dates (except start date)
Scenario
:
User can clear previously set course dates (except start date)
Given
I have set course dates
Given
I have set course dates
And
I clear all the dates except start
And
I clear all the dates except start
Then
I see cleared dates on refresh
Then
I see cleared dates on refresh
@skip-phantom
Scenario
:
User cannot clear the course start date
Scenario
:
User cannot clear the course start date
Given
I have set course dates
Given
I have set course dates
And
I clear the course start date
And
I clear the course start date
...
...
cms/djangoapps/contentstore/features/section.feature
View file @
29ce700d
...
@@ -3,6 +3,7 @@ Feature: Create Section
...
@@ -3,6 +3,7 @@ Feature: Create Section
As a course author
As a course author
I want to create and edit sections
I want to create and edit sections
@skip-phantom
Scenario
:
Add a new section to a course
Scenario
:
Add a new section to a course
Given
I have opened a new course in Studio
Given
I have opened a new course in Studio
When
I click the New Section link
When
I click the New Section link
...
...
cms/djangoapps/contentstore/features/studio-overview-togglesection.feature
View file @
29ce700d
Feature
:
Overview Toggle Section
Feature
:
Overview Toggle Section
In order to quickly view the details of a course's section or to scan the inventory of sections
In order to quickly view the details of a course's section or to scan the inventory of sections
As a course author
As a course author
I want to toggle the visibility of each section's subsection details in the overview listing
I want to toggle the visibility of each section's subsection details in the overview listing
Scenario
:
The default layout for the overview page is to show sections in expanded view
Scenario
:
The default layout for the overview page is to show sections in expanded view
Given
I have a course with multiple sections
Given
I have a course with multiple sections
When
I navigate to the course overview page
When
I navigate to the course overview page
Then
I see the
"Collapse All Sections"
link
Then
I see the
"Collapse All Sections"
link
And
all sections are expanded
And
all sections are expanded
Scenario
:
Expand /collapse for a course with no sections
Scenario
:
Expand /collapse for a course with no sections
Given
I have a course with no sections
Given
I have a course with no sections
When
I navigate to the course overview page
When
I navigate to the course overview page
Then
I do not see the
"Collapse All Sections"
link
Then
I do not see the
"Collapse All Sections"
link
@skip-phantom
Scenario
:
Collapse link appears after creating first section of a course
Scenario
:
Collapse link appears after creating first section of a course
Given
I have a course with no sections
Given
I have a course with no sections
When
I navigate to the course overview page
When
I navigate to the course overview page
And
I add a section
And
I add a section
Then
I see the
"Collapse All Sections"
link
Then
I see the
"Collapse All Sections"
link
And
all sections are expanded
And
all sections are expanded
@skip-phantom
@skip-phantom
Scenario
:
Collapse link is not removed after last section of a course is deleted
Scenario
:
Collapse link is not removed after last section of a course is deleted
Given
I have a course with 1 section
Given
I have a course with 1 section
And
I navigate to the course overview page
And
I navigate to the course overview page
When
I press the
"section"
delete icon
When
I press the
"section"
delete icon
And
I confirm the alert
And
I confirm the alert
Then
I see the
"Collapse All Sections"
link
Then
I see the
"Collapse All Sections"
link
Scenario
:
Collapsing all sections when all sections are expanded
Scenario
:
Collapsing all sections when all sections are expanded
...
@@ -57,4 +58,4 @@ Feature: Overview Toggle Section
...
@@ -57,4 +58,4 @@ Feature: Overview Toggle Section
When
I expand the first section
When
I expand the first section
And
I click the
"Expand All Sections"
link
And
I click the
"Expand All Sections"
link
Then
I see the
"Collapse All Sections"
link
Then
I see the
"Collapse All Sections"
link
And
all sections are expanded
And
all sections are expanded
\ No newline at end of file
cms/djangoapps/contentstore/features/subsection.feature
View file @
29ce700d
...
@@ -3,13 +3,15 @@ Feature: Create Subsection
...
@@ -3,13 +3,15 @@ Feature: Create Subsection
As a course author
As a course author
I want to create and edit subsections
I want to create and edit subsections
Scenario
:
Add a new subsection to a section
@skip-phantom
Scenario
:
Add a new subsection to a section
Given
I have opened a new course section in Studio
Given
I have opened a new course section in Studio
When
I click the New Subsection link
When
I click the New Subsection link
And
I enter the subsection name and click save
And
I enter the subsection name and click save
Then
I see my subsection on the Courseware page
Then
I see my subsection on the Courseware page
Scenario
:
Add a new subsection (with a name containing a quote) to a section (bug
#216)
@skip-phantom
Scenario
:
Add a new subsection (with a name containing a quote) to a section (bug
#216)
Given
I have opened a new course section in Studio
Given
I have opened a new course section in Studio
When
I click the New Subsection link
When
I click the New Subsection link
And
I enter a subsection name with a quote and click save
And
I enter a subsection name with a quote and click save
...
@@ -17,7 +19,7 @@ Feature: Create Subsection
...
@@ -17,7 +19,7 @@ Feature: Create Subsection
And
I click to edit the subsection name
And
I click to edit the subsection name
Then
I see the complete subsection name with a quote in the editor
Then
I see the complete subsection name with a quote in the editor
Scenario
:
Assign grading type to a subsection and verify it is still shown after refresh (bug
#258)
Scenario
:
Assign grading type to a subsection and verify it is still shown after refresh (bug
#258)
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 mark it as Homework
And
I mark it as Homework
...
@@ -25,20 +27,19 @@ Feature: Create Subsection
...
@@ -25,20 +27,19 @@ Feature: Create Subsection
And
I reload the page
And
I reload the page
Then
I see it marked as Homework
Then
I see it marked as Homework
Scenario
:
Set a due date in a different year (bug
#256)
@skip-phantom
Scenario
:
Set a due date in a different year (bug
#256)
Given
I have opened a new subsection in Studio
Given
I have opened a new subsection in Studio
And
I have set a release date and due date in different years
And
I have set a release date and due date in different years
Then
I see the correct dates
Then
I see the correct dates
And
I reload the page
And
I reload the page
Then
I see the correct dates
Then
I see the correct dates
@skip-phantom
@skip-phantom
Scenario
:
Delete a subsection
Scenario
:
Delete a subsection
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 see my subsection on the Courseware page
And
I see my subsection on the Courseware page
When
I press the
"subsection"
delete icon
When
I press the
"subsection"
delete icon
And
I confirm the alert
And
I confirm the alert
Then
the subsection does not exist
Then
the subsection does not exist
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