[Synthetics] Add private locations in synthetics settings (#146986)

Fixes https://github.com/elastic/kibana/issues/137486
This commit is contained in:
Shahzad 2022-12-07 13:45:18 +01:00 committed by GitHub
parent 405eb89f35
commit 802d8eaeb2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
52 changed files with 2031 additions and 151 deletions

View file

@ -10,7 +10,11 @@ import { expect, Page } from '@elastic/synthetics';
export async function waitForLoadingToFinish({ page }: { page: Page }) {
while (true) {
if ((await page.$(byTestId('kbnLoadingMessage'))) === null) break;
await page.waitForTimeout(5 * 1000);
await page.waitForTimeout(2 * 1000);
}
while (true) {
if ((await page.$(byTestId('globalLoadingIndicator'))) === null) break;
await page.waitForTimeout(2 * 1000);
}
}