Skip to content

Commit

Permalink
close toast button quickly
Browse files Browse the repository at this point in the history
  • Loading branch information
parkiino committed Mar 1, 2021
1 parent 6567c72 commit c717f8f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
await advancedPolicyField.clearValueWithKeyboard();

// Make sure the toast button closes so the save button on the sticky footer is visible
await (await testSubjects.find('toastCloseButton')).click();
await testSubjects.waitForHidden('toastCloseButton');
await pageObjects.policy.confirmAndSave();

Expand Down

0 comments on commit c717f8f

Please sign in to comment.