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
1599ae2f
Commit
1599ae2f
authored
Dec 28, 2015
by
Ben Patterson
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #11065 from edx/benp/fix-flaky-course-import
Fix flaky condition. TNL-3937.
parents
88e21c36
d5220682
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
cms/djangoapps/contentstore/features/course-export.py
+4
-2
No files found.
cms/djangoapps/contentstore/features/course-export.py
View file @
1599ae2f
...
@@ -53,10 +53,12 @@ def i_click_on_error_dialog(step):
...
@@ -53,10 +53,12 @@ def i_click_on_error_dialog(step):
problem_string
=
unicode
(
world
.
scenario_dict
[
'COURSE'
]
.
id
.
make_usage_key
(
"problem"
,
'ignore'
))
problem_string
=
unicode
(
world
.
scenario_dict
[
'COURSE'
]
.
id
.
make_usage_key
(
"problem"
,
'ignore'
))
problem_string
=
u"Problem {}"
.
format
(
problem_string
[:
problem_string
.
rfind
(
'ignore'
)])
problem_string
=
u"Problem {}"
.
format
(
problem_string
[:
problem_string
.
rfind
(
'ignore'
)])
css_selector
=
"span.inline-error"
world
.
wait_for_visible
(
css_selector
)
assert_true
(
assert_true
(
world
.
css_html
(
"span.inline-error"
)
.
startswith
(
problem_string
),
world
.
css_html
(
css_selector
)
.
startswith
(
problem_string
),
u"{} does not start with {}"
.
format
(
u"{} does not start with {}"
.
format
(
world
.
css_html
(
"span.inline-error"
),
problem_string
world
.
css_html
(
css_selector
),
problem_string
))
))
# we don't know the actual ID of the vertical. So just check that we did go to a
# we don't know the actual ID of the vertical. So just check that we did go to a
# vertical page in the course (there should only be one).
# vertical page in the course (there should only be one).
...
...
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