mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[Flaky test] Add missing await
in infrastructure_security test suite (#166721)
Fixes #164250 [Successful pipeline in the flaky test runner](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3191). @crespocarlos spotted the missing `await` that might cause the `infrastructure_security` suite to still be running along `infrastructure_spaces` and cause race conditions.
This commit is contained in:
parent
8b215485f9
commit
8dd4323d6c
1 changed files with 1 additions and 1 deletions
|
@ -372,7 +372,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
|
|||
ensureCurrentUrl: false,
|
||||
shouldLoginIfPrompted: false,
|
||||
});
|
||||
PageObjects.error.expectForbidden();
|
||||
await PageObjects.error.expectForbidden();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue