mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[watcher] add missing await
This commit is contained in:
parent
62fedccad5
commit
2dbf8a6d89
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ export default function ({ getService, getPageObjects }) {
|
|||
await PageObjects.watcher.deleteWatch(watchID);
|
||||
await testSubjects.click('confirmModalConfirmButton');
|
||||
await PageObjects.header.waitUntilLoadingHasFinished();
|
||||
retry.try(async () => {
|
||||
await retry.try(async () => {
|
||||
const row = await find.byCssSelector('.euiTableRow');
|
||||
const cell = await row.findByCssSelector('td:nth-child(1)');
|
||||
expect(cell.getVisibleText()).to.equal('No watches to show');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue