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
2ee4b85f
Commit
2ee4b85f
authored
Jun 19, 2015
by
Ben Patterson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix flaky test. SOL-975
Remove flaky flag, improve linting.
parent
e9c84503
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
common/test/acceptance/pages/lms/discovery.py
+9
-1
common/test/acceptance/tests/lms/test_lms_course_discovery.py
+0
-1
No files found.
common/test/acceptance/pages/lms/discovery.py
View file @
2ee4b85f
...
@@ -15,7 +15,15 @@ class CourseDiscoveryPage(PageObject):
...
@@ -15,7 +15,15 @@ class CourseDiscoveryPage(PageObject):
form
=
"#discovery-form"
form
=
"#discovery-form"
def
is_browser_on_page
(
self
):
def
is_browser_on_page
(
self
):
return
"Courses"
in
self
.
browser
.
title
"""
Loading indicator must be present, but not visible
"""
loading_css
=
"#loading-indicator"
courses_css
=
'.courses-listing'
return
self
.
q
(
css
=
courses_css
)
.
visible
\
and
self
.
q
(
css
=
loading_css
)
.
present
\
and
not
self
.
q
(
css
=
loading_css
)
.
visible
@property
@property
def
result_items
(
self
):
def
result_items
(
self
):
...
...
common/test/acceptance/tests/lms/test_lms_course_discovery.py
View file @
2ee4b85f
...
@@ -72,7 +72,6 @@ class CourseDiscoveryTest(WebAppTest):
...
@@ -72,7 +72,6 @@ class CourseDiscoveryTest(WebAppTest):
"""
"""
self
.
page
.
visit
()
self
.
page
.
visit
()
@flaky
# TODO: fix this. See SOL-975
def
test_search
(
self
):
def
test_search
(
self
):
"""
"""
Make sure you can search for courses.
Make sure you can search for courses.
...
...
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