Skip to content

Commit 66852b7

Browse files
Use waitForText.
1 parent 71642ca commit 66852b7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/org/labkey/test/tests/core/security/TroubleshooterRoleTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ private void testQueryAccess()
173173

174174
// Troubleshooters should NOT have read access outside the root
175175
goToProjectHome();
176-
assertTextPresent("User does not have permission to perform this operation.");
176+
waitForText("User does not have permission to perform this operation.");
177177
goToSchemaBrowser(getProjectName(), true);
178178
}
179179

@@ -184,7 +184,7 @@ public void goToSchemaBrowser(@Nullable String container, boolean expectPermissi
184184

185185
if (expectPermissionError)
186186
{
187-
assertTextPresent("User does not have permission to perform this operation.");
187+
waitForText("User does not have permission to perform this operation.");
188188
}
189189
else
190190
{

0 commit comments

Comments
 (0)