Skip to content
Snippets Groups Projects
Commit 73dfbe19 authored by Michael Hamann's avatar Michael Hamann
Browse files

[Misc] Try reducing flickering in UserDirectoryIT

(cherry picked from commit 0b145548)
parent 044e8210
No related branches found
No related tags found
No related merge requests found
......@@ -76,6 +76,7 @@ void verifyUserIsListed(TestUtils setup, LogCaptureConfiguration logCaptureConfi
// Go back to the user directory page since the user creation navigated to another page
page = UserDirectoryPage.gotoPage();
liveTableElement = page.getUserDirectoryLiveTable();
assertEquals(1, liveTableElement.getRowCount());
assertTrue(liveTableElement.hasRow("User ID", "test"));
assertTrue(liveTableElement.hasRow("First Name", "John"));
......@@ -83,6 +84,9 @@ void verifyUserIsListed(TestUtils setup, LogCaptureConfiguration logCaptureConfi
// Log out to verify the livetable works in guest view too
setup.forceGuestUser();
// Create a new instance of the page to ensure that we wait for it to be fully loaded.
page = new UserDirectoryPage();
liveTableElement = page.getUserDirectoryLiveTable();
assertEquals(1, liveTableElement.getRowCount());
assertTrue(liveTableElement.hasRow("User ID", "test"));
assertTrue(liveTableElement.hasRow("First Name", "John"));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment