Skip to content

Commit

Permalink
this time for real: add retry on stale for another suspicious part
Browse files Browse the repository at this point in the history
  • Loading branch information
gergoabraham committed Oct 23, 2024
1 parent 5dac1f8 commit e5245ad
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {

await deleteEndpointExceptions();

clearPrefilledEntries = async () => {
clearPrefilledEntries = retryOnStale.wrap(async () => {
const entriesContainer = await testSubjects.find('exceptionEntriesContainer');

let deleteButtons: WebElementWrapper[];
Expand All @@ -167,7 +167,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {

await deleteButtons[0].click();
} while (deleteButtons.length > 1);
};
});
});

it('should add `event.module=endpoint` to entry if only wildcard operator is present', async () => {
Expand Down

0 comments on commit e5245ad

Please sign in to comment.