diff --git a/common/test/acceptance/pages/common/utils.py b/common/test/acceptance/pages/common/utils.py index 392492d056..2af70e427a 100644 --- a/common/test/acceptance/pages/common/utils.py +++ b/common/test/acceptance/pages/common/utils.py @@ -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): diff --git a/common/test/acceptance/tests/studio/test_studio_library.py b/common/test/acceptance/tests/studio/test_studio_library.py index 59cbcd49ed..da909e17f5 100644 --- a/common/test/acceptance/tests/studio/test_studio_library.py +++ b/common/test/acceptance/tests/studio/test_studio_library.py @@ -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.