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
73ba1e54
Commit
73ba1e54
authored
Jun 17, 2013
by
cahrens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change code to use css_click in hopes that will make the test pass on Don's mac.
css_click will try clicking multiple times.
parent
92fc452b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
cms/djangoapps/contentstore/features/problem-editor.py
+7
-4
No files found.
cms/djangoapps/contentstore/features/problem-editor.py
View file @
73ba1e54
...
...
@@ -161,8 +161,7 @@ def create_latex_problem(step):
@step
(
'I edit and compile the High Level Source'
)
def
edit_latex_source
(
step
):
world
.
css_click
(
'a.edit-button'
)
world
.
css_find
(
'.launch-latex-compiler'
)
.
find_by_css
(
'a'
)
.
click
()
open_high_level_source
()
type_in_codemirror
(
1
,
"hi"
)
world
.
css_click
(
'.hls-compile'
)
...
...
@@ -177,8 +176,7 @@ def high_level_source_persisted(step):
@step
(
'I view the High Level Source I see my changes'
)
def
high_level_source_in_editor
(
step
):
world
.
css_click
(
'a.edit-button'
)
world
.
css_find
(
'.launch-latex-compiler'
)
.
find_by_css
(
'a'
)
.
click
()
open_high_level_source
()
assert_equal
(
'hi'
,
world
.
css_find
(
'.source-edit-box'
)
.
value
)
...
...
@@ -210,3 +208,8 @@ def verify_unset_display_name():
def
set_weight
(
weight
):
world
.
get_setting_entry
(
PROBLEM_WEIGHT
)
.
find_by_css
(
'.setting-input'
)[
0
]
.
fill
(
weight
)
def
open_high_level_source
():
world
.
css_click
(
'a.edit-button'
)
world
.
css_click
(
'.launch-latex-compiler > a'
)
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