Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
d147103b
Commit
d147103b
authored
11 years ago
by
JonahStanley
Browse files
Options
Downloads
Patches
Plain Diff
Fixed tab issue (tabs are now correctly spaces)
parent
0548b119
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cms/djangoapps/contentstore/features/studio-overview-togglesection.feature
+40
-40
40 additions, 40 deletions
...ntentstore/features/studio-overview-togglesection.feature
with
40 additions
and
40 deletions
cms/djangoapps/contentstore/features/studio-overview-togglesection.feature
+
40
−
40
View file @
d147103b
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
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
Given
I have a course with multiple sections
Scenario
:
The default layout for the overview page is to show sections in expanded view
Given
I have a course with multiple sections
When
I navigate to the course overview page
Then
I see the
"Collapse All Sections"
link
And
all sections are expanded
Scenario
:
Expand /collapse for a course with no sections
Given
I have a course with no sections
Scenario
:
Expand /collapse for a course with no sections
Given
I have a course with no sections
When
I navigate to the course overview page
Then
I do not see the
"Collapse All Sections"
link
Scenario
:
Collapse link appears after creating first section of a course
Given
I have a course with no sections
Scenario
:
Collapse link appears after creating first section of a course
Given
I have a course with no sections
When
I navigate to the course overview page
And
I add a section
Then
I see the
"Collapse All Sections"
link
And
all sections are expanded
Scenario
:
Collapse link is not removed after last section of a course is deleted
Given
I have a course with 1 section
Scenario
:
Collapse link is not removed after last section of a course is deleted
Given
I have a course with 1 section
And
I navigate to the course overview page
When
I confirm all alerts
And
I press the
"section"
delete icon
Then
I see the
"Collapse All Sections"
link
Scenario
:
Collapsing all sections when all sections are expanded
Given
I navigate to the courseware page of a course with multiple sections
And
all sections are expanded
When
I click the
"Collapse All Sections"
link
Then
I see the
"Expand All Sections"
link
And
all sections are collapsed
Scenario
:
Collapsing all sections when 1 or more sections are already collapsed
Given
I navigate to the courseware page of a course with multiple sections
And
all sections are expanded
When
I collapse the first section
And
I click the
"Collapse All Sections"
link
Then
I see the
"Expand All Sections"
link
And
all sections are collapsed
Scenario
:
Expanding all sections when all sections are collapsed
Given
I navigate to the courseware page of a course with multiple sections
And
I click the
"Collapse All Sections"
link
When
I click the
"Expand All Sections"
link
Then
I see the
"Collapse All Sections"
link
And
all sections are expanded
Scenario
:
Expanding all sections when 1 or more sections are already expanded
Given
I navigate to the courseware page of a course with multiple sections
And
I click the
"Collapse All Sections"
link
When
I expand the first section
And
I click the
"Expand All Sections"
link
Then
I see the
"Collapse All Sections"
link
And
all sections are expanded
Then
I see the
"Collapse All Sections"
link
Scenario
:
Collapsing all sections when all sections are expanded
Given
I navigate to the courseware page of a course with multiple sections
And
all sections are expanded
When
I click the
"Collapse All Sections"
link
Then
I see the
"Expand All Sections"
link
And
all sections are collapsed
Scenario
:
Collapsing all sections when 1 or more sections are already collapsed
Given
I navigate to the courseware page of a course with multiple sections
And
all sections are expanded
When
I collapse the first section
And
I click the
"Collapse All Sections"
link
Then
I see the
"Expand All Sections"
link
And
all sections are collapsed
Scenario
:
Expanding all sections when all sections are collapsed
Given
I navigate to the courseware page of a course with multiple sections
And
I click the
"Collapse All Sections"
link
When
I click the
"Expand All Sections"
link
Then
I see the
"Collapse All Sections"
link
And
all sections are expanded
Scenario
:
Expanding all sections when 1 or more sections are already expanded
Given
I navigate to the courseware page of a course with multiple sections
And
I click the
"Collapse All Sections"
link
When
I expand the first section
And
I click the
"Expand All Sections"
link
Then
I see the
"Collapse All Sections"
link
And
all sections are expanded
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment