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
5615f0bf
Commit
5615f0bf
authored
Mar 26, 2015
by
Ben Patterson
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7494 from edx/benp/flag-cohort-test-flaky
Fix empty promise. It was always evaluating to true.
parents
44235108
dae5cdfc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
common/test/acceptance/pages/lms/instructor_dashboard.py
+1
-1
No files found.
common/test/acceptance/pages/lms/instructor_dashboard.py
View file @
5615f0bf
...
...
@@ -400,7 +400,7 @@ class CohortManagementSection(PageObject):
"""
if
wait_for_messages
:
EmptyPromise
(
lambda
:
self
.
q
(
css
=
self
.
_bounded_selector
(
title_css
))
.
results
!=
0
,
lambda
:
len
(
self
.
q
(
css
=
self
.
_bounded_selector
(
title_css
))
.
results
)
!=
0
,
"Waiting for messages to appear"
)
.
fulfill
()
message_title
=
self
.
q
(
css
=
self
.
_bounded_selector
(
title_css
))
...
...
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