test: Cypress | Fix PostWindowMessage_spec (#23807)
## Description - This PR fixes the PostWindowMessage_spec flaky fix in CI runs #### Type of change - Script fix (non-breaking change which fixes an issue) ## Testing #### How Has This Been Tested? - [X] Cypress ## Checklist: #### QA activity: - [X] Added `Test Plan Approved` label after Cypress tests were reviewed
This commit is contained in:
parent
0d1d9c6781
commit
025bbb6aa1
|
|
@ -45,6 +45,7 @@ describe("Post window message", () => {
|
|||
agHelper.EnterActionValue("Message", "I got a message from iframe");
|
||||
deployMode.DeployApp(locator._spanButton("Submit"));
|
||||
agHelper.AssertElementVisible("#iframe-Iframe1");
|
||||
agHelper.Sleep(5000); //allowing time for elements to load fully before clicking - for CI flaky
|
||||
cy.get("#iframe-Iframe1").then((element) => {
|
||||
element.contents().find("body").find("#iframe-button").click();
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user