Merge pull request #6985 from backstage/rugvip/flake

e2e-test: avoid page reload between text search attempts
This commit is contained in:
Patrik Oldsberg
2021-08-27 18:04:06 +02:00
committed by GitHub
-1
View File
@@ -165,7 +165,6 @@ export async function waitForPageWithText(
} catch (error) {
findTextAttempts++;
if (findTextAttempts <= maxFindTextAttempts) {
await browser.visit(path);
await new Promise(resolve => setTimeout(resolve, intervalMs));
continue;
} else {