Commit 24c6a885 by raeeschachar

Merge pull request #9585 from edx/raees-fix-chrome-test-user-management

Fixed Chrome test_user_management under LibraryUsersPageTest
parents 42181aea 70573ca8
......@@ -33,9 +33,9 @@ class UsersPageMixin(PageObject):
def is_browser_on_page(self):
"""
Returns True iff the browser has loaded the page.
Returns True if the browser has loaded the page.
"""
return self.q(css='body.view-team').present
return self.q(css='body.view-team').present and not self.q(css='.ui-loading').present
@property
def users(self):
......
......@@ -522,9 +522,7 @@ class LibraryUsersPageTest(StudioLibraryTest):
"""
self.page = LibraryUsersPage(self.browser, self.library_key)
self.page.visit()
self.page.wait_until_no_loading_indicator()
@flaky # TODO fix this; see TNL-2647
def test_user_management(self):
"""
Scenario: Ensure that we can edit the permissions of users.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment