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
dffe3e07
Commit
dffe3e07
authored
Nov 10, 2016
by
Jesse Shapiro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update wait for mini-notification in testing to be more fine-grained; remove flaky test decorator
parent
f05899b2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
3 deletions
+12
-3
common/test/acceptance/pages/common/utils.py
+12
-2
common/test/acceptance/tests/studio/test_studio_library.py
+0
-1
No files found.
common/test/acceptance/pages/common/utils.py
View file @
dffe3e07
...
...
@@ -17,8 +17,18 @@ def wait_for_notification(page):
"""Whether or not the notification is finished showing."""
return
page
.
q
(
css
=
'.wrapper-notification-mini.is-hiding'
)
.
present
EmptyPromise
(
_is_saving
,
'Notification should have been shown.'
,
timeout
=
60
)
.
fulfill
()
EmptyPromise
(
_is_saving_done
,
'Notification should have been hidden.'
,
timeout
=
60
)
.
fulfill
()
EmptyPromise
(
_is_saving
,
'Notification should have been shown.'
,
try_interval
=
0.1
,
timeout
=
60
,
)
.
fulfill
()
EmptyPromise
(
_is_saving_done
,
'Notification should have been hidden.'
,
try_interval
=
0.1
,
timeout
=
60
,
)
.
fulfill
()
def
click_css
(
page
,
css
,
source_index
=
0
,
require_notification
=
True
):
...
...
common/test/acceptance/tests/studio/test_studio_library.py
View file @
dffe3e07
...
...
@@ -129,7 +129,6 @@ class LibraryEditPageTest(StudioLibraryTest):
"""
self
.
assertFalse
(
self
.
browser
.
find_elements_by_css_selector
(
'span.large-discussion-icon'
))
@flaky
# TODO fix this, see TNL-2322
def
test_library_pagination
(
self
):
"""
Scenario: Ensure that adding several XBlocks to a library results in pagination.
...
...
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