mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
test: add missing await for connector table disappearance (#175430)
## Summary There's been a few recent failures in this test: https://buildkite.com/elastic/kibana-on-merge/builds/40574#018d3a8b-fe46-410e-a2b9-51eff916ddcd https://buildkite.com/elastic/kibana-on-merge/builds/40576#018d3b7a-1be4-499d-9b42-e10d860ee637 I don't know if this small addition will make any difference in the test timing out, but it will probably avoid the `Unhandled Promise rejection detected:` kind of errors, since we'll now wait for the expression. cc: @saarikabhasi
This commit is contained in:
parent
891cbfac07
commit
8b7ceea6c7
1 changed files with 2 additions and 2 deletions
|
@ -85,8 +85,8 @@ export function SvlSearchConnectorsPageProvider({ getService }: FtrProviderConte
|
|||
.then(() => true)
|
||||
.catch(() => false)
|
||||
);
|
||||
browser.refresh();
|
||||
this.expectConnectorTableToHaveNoItems();
|
||||
await browser.refresh();
|
||||
await this.expectConnectorTableToHaveNoItems();
|
||||
},
|
||||
async expectConnectorOverviewPageComponentsToExist() {
|
||||
await testSubjects.existOrFail('serverlessSearchConnectorsTitle');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue