Julia Rechkunova 2023-03-06 09:11:49 +01:00 committed by GitHub
parent 4628a9dccc
commit d8f9b1dc03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -48,6 +48,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
for (const [columnName, value] of TEST_FILTER_COLUMN_NAMES) {
await filterBar.addFilter({ field: columnName, operation: 'is', value });
await PageObjects.header.waitUntilLoadingHasFinished();
}
});
@ -82,7 +83,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
await retry.waitFor('next anchor timestamp matches previous anchor timestamp', async () => {
// get the timestamp of the first row
const firstContextTimestamp = await getTimestamp(false);
await dataGrid.clickRowToggle({ isAnchorRow: true });
await dataGrid.clickRowToggle({ rowIndex: 0 });
const rowActions = await dataGrid.getRowActions({ rowIndex: 0 });
await rowActions[1].click();

View file

@ -304,6 +304,7 @@ export class FilterBarService extends FtrService {
await this.testSubjects.clickWhenNotDisabled('saveFilter');
});
await this.testSubjects.waitForDeleted('saveFilter');
await this.header.awaitGlobalLoadingIndicatorHidden();
}