test: Cypress - Modal_Focus spec to unblock CI (#21743)
## Description **Fixed below flaky tests as a trial to check if the spec is stable now in CI runs - since local runs are passing** - modal_focus_spec.js ## Type of change - Flaky test fix ## How Has This Been Tested? - Cypress test runs ## Checklist: ### QA activity: - [ ] Test plan has been approved by relevant developers - [ ] Test plan has been peer reviewed by QA - [ ] Cypress test cases have been added and approved by either SDET or manual QA - [ ] Organized project review call with relevant stakeholders after Round 1/2 of QA - [ ] Added Test Plan Approved label after reveiwing all Cypress test
This commit is contained in:
parent
9a135b961a
commit
adf5142065
|
|
@ -63,6 +63,7 @@ describe("Modal focus", function () {
|
|||
cy.get(widgets.modalCloseButton).click({ force: true });
|
||||
cy.get(widgets.modalCloseButton).should("not.be.visible");
|
||||
|
||||
cy.wait(1500);
|
||||
//open the modal
|
||||
cy.get(widgets.widgetBtn).contains("Submit").click({ force: true });
|
||||
//check if the focus is on the input field
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user