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
d226a21e
Commit
d226a21e
authored
Jun 05, 2013
by
JonahStanley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed wording to I will
parent
f652a5d8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
cms/djangoapps/contentstore/features/section.feature
+1
-1
cms/djangoapps/contentstore/features/studio-overview-togglesection.feature
+1
-1
cms/djangoapps/contentstore/features/subsection.feature
+1
-1
common/djangoapps/terrain/steps.py
+3
-3
No files found.
cms/djangoapps/contentstore/features/section.feature
View file @
d226a21e
...
...
@@ -29,6 +29,6 @@ Feature: Create Section
Scenario
:
Delete section
Given
I have opened a new course in Studio
And
I have added a new section
When
I confirm all alerts
When
I
will
confirm all alerts
And
I press the
"section"
delete icon
Then
the section does not exist
cms/djangoapps/contentstore/features/studio-overview-togglesection.feature
View file @
d226a21e
...
...
@@ -24,7 +24,7 @@ Feature: Overview Toggle 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
When
I
will
confirm all alerts
And
I press the
"section"
delete icon
Then
I see the
"Collapse All Sections"
link
...
...
cms/djangoapps/contentstore/features/subsection.feature
View file @
d226a21e
...
...
@@ -36,6 +36,6 @@ Feature: Create Subsection
Given
I have opened a new course section in Studio
And
I have added a new subsection
And
I see my subsection on the Courseware page
When
I confirm all alerts
When
I
will
confirm all alerts
And
I press the
"subsection"
delete icon
Then
the subsection does not exist
common/djangoapps/terrain/steps.py
View file @
d226a21e
...
...
@@ -161,16 +161,16 @@ def dialogs_are_closed(step):
assert
world
.
dialogs_closed
()
@step
(
'I confirm all alerts'
)
@step
(
'I
will
confirm all alerts'
)
def
i_confirm_all_alerts
(
step
):
world
.
browser
.
execute_script
(
'window.confirm = function(){return true;} ; window.alert = function(){return;}'
)
@step
(
'I cancel all alerts'
)
@step
(
'I
will
cancel all alerts'
)
def
i_cancel_all_alerts
(
step
):
world
.
browser
.
execute_script
(
'window.confirm = function(){return false;} ; window.alert = function(){return;}'
)
@step
(
'I answer all prompts with "([^"]*)"'
)
@step
(
'I
will
answer all prompts with "([^"]*)"'
)
def
i_answer_prompts_with
(
step
,
prompt
):
world
.
browser
.
execute_script
(
'window.prompt = function(){return
%
s;}'
)
%
prompt
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