Commit 70573ca8 by raeeschachar

Fixed Chrome test_user_management under LibraryUsersPageTest

parent 2438b27b
...@@ -33,9 +33,9 @@ class UsersPageMixin(PageObject): ...@@ -33,9 +33,9 @@ class UsersPageMixin(PageObject):
def is_browser_on_page(self): 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 @property
def users(self): def users(self):
......
...@@ -522,9 +522,7 @@ class LibraryUsersPageTest(StudioLibraryTest): ...@@ -522,9 +522,7 @@ class LibraryUsersPageTest(StudioLibraryTest):
""" """
self.page = LibraryUsersPage(self.browser, self.library_key) self.page = LibraryUsersPage(self.browser, self.library_key)
self.page.visit() self.page.visit()
self.page.wait_until_no_loading_indicator()
@flaky # TODO fix this; see TNL-2647
def test_user_management(self): def test_user_management(self):
""" """
Scenario: Ensure that we can edit the permissions of users. 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