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
85b75bad
Commit
85b75bad
authored
Feb 22, 2013
by
Jay Zoldak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor lettuce commands for navigation to the advanced settings page
parent
af2690fc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
10 deletions
+12
-10
cms/djangoapps/contentstore/features/advanced-settings.feature
+6
-10
cms/djangoapps/contentstore/features/advanced-settings.py
+6
-0
No files found.
cms/djangoapps/contentstore/features/advanced-settings.feature
View file @
85b75bad
...
...
@@ -8,24 +8,20 @@ Feature: Advanced (manual) course policy
Then
I see only the display name
Scenario
:
Test if there are no policy settings without existing UI controls
Given
I have opened a new course in Studio
When
I select the Advanced Settings
And
I delete the display name
Given
I am on the Advanced Course Settings page in Studio
When
I delete the display name
Then
there are no advanced policy settings
And
I reload the page
Then
there are no advanced policy settings
Scenario
:
Add new entries, and they appear alphabetically after save
Given
I have opened a new course in Studio
When
I select the Advanced Settings
And
I create New Entries
Given
I am on the Advanced Course Settings page in Studio
When
I create New Entries
Then
they are alphabetized
And
I reload the page
Then
they are alphabetized
Scenario
:
Test how multi-line input appears
Given
I have opened a new course in Studio
When
I select the Advanced Settings
And
I create a JSON object
Given
I am on the Advanced Course Settings page in Studio
When
I create a JSON object
Then
it is displayed as formatted
cms/djangoapps/contentstore/features/advanced-settings.py
View file @
85b75bad
...
...
@@ -18,6 +18,12 @@ def i_select_advanced_settings(step):
css_click
(
link_css
)
@step
(
'I am on the Advanced Course Settings page in Studio$'
)
def
i_am_on_advanced_course_settings
(
step
):
step
.
given
(
'I have opened a new course in Studio'
)
step
.
given
(
'I select the Advanced Settings'
)
@step
(
'I see only the display name$'
)
def
i_see_only_display_name
(
step
):
assert_policy_entries
([
"display_name"
],
[
'"Robot Super Course"'
])
...
...
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