Fixed Chrome test_user_management under LibraryUsersPageTest
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user