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
efc6a308
Commit
efc6a308
authored
Jul 19, 2013
by
Will Daly
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #444 from edx/will/fix-acceptance-tests
Will/fix acceptance tests
parents
011ceb8e
76a63a6e
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
6 deletions
+15
-6
cms/djangoapps/contentstore/features/checklists.feature
+1
-0
cms/djangoapps/contentstore/features/common.py
+2
-1
cms/djangoapps/contentstore/features/component_settings_editor_helpers.py
+8
-3
cms/djangoapps/contentstore/features/discussion-editor.py
+2
-1
cms/djangoapps/contentstore/features/problem-editor.py
+2
-1
No files found.
cms/djangoapps/contentstore/features/checklists.feature
View file @
efc6a308
...
...
@@ -10,6 +10,7 @@ Feature: Course checklists
Then
I can check and uncheck tasks in a checklist
And
They are correctly selected after I reload the page
@skip
Scenario
:
A
task can link to a location within Studio
Given
I have opened Checklists
When
I select a link to the course outline
...
...
cms/djangoapps/contentstore/features/common.py
View file @
efc6a308
...
...
@@ -209,7 +209,8 @@ def i_created_a_video_component(step):
world
.
create_component_instance
(
step
,
'.large-video-icon'
,
'video'
,
'.xmodule_VideoModule'
'.xmodule_VideoModule'
,
has_multiple_templates
=
False
)
...
...
cms/djangoapps/contentstore/features/component_settings_editor_helpers.py
View file @
efc6a308
...
...
@@ -7,10 +7,16 @@ from terrain.steps import reload_the_page
@world.absorb
def
create_component_instance
(
step
,
component_button_css
,
category
,
expected_css
,
boilerplate
=
None
):
def
create_component_instance
(
step
,
component_button_css
,
category
,
expected_css
,
boilerplate
=
None
,
has_multiple_templates
=
True
):
click_new_component_button
(
step
,
component_button_css
)
click_component_from_menu
(
category
,
boilerplate
,
expected_css
)
if
has_multiple_templates
:
click_component_from_menu
(
category
,
boilerplate
,
expected_css
)
assert_equal
(
1
,
len
(
world
.
css_find
(
expected_css
)))
@world.absorb
def
click_new_component_button
(
step
,
component_button_css
):
...
...
@@ -34,7 +40,6 @@ def click_component_from_menu(category, boilerplate, expected_css):
elements
=
world
.
css_find
(
elem_css
)
assert_equal
(
len
(
elements
),
1
)
world
.
css_click
(
elem_css
)
assert_equal
(
1
,
len
(
world
.
css_find
(
expected_css
)))
@world.absorb
...
...
cms/djangoapps/contentstore/features/discussion-editor.py
View file @
efc6a308
...
...
@@ -9,7 +9,8 @@ def i_created_discussion_tag(step):
world
.
create_component_instance
(
step
,
'.large-discussion-icon'
,
'discussion'
,
'.xmodule_DiscussionModule'
'.xmodule_DiscussionModule'
,
has_multiple_templates
=
False
)
...
...
cms/djangoapps/contentstore/features/problem-editor.py
View file @
efc6a308
...
...
@@ -170,7 +170,8 @@ def edit_latex_source(step):
@step
(
'my change to the High Level Source is persisted'
)
def
high_level_source_persisted
(
step
):
def
verify_text
(
driver
):
return
world
.
css_text
(
'.problem'
)
==
'hi'
css_sel
=
'.problem div>span'
return
world
.
css_text
(
css_sel
)
==
'hi'
world
.
wait_for
(
verify_text
)
...
...
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