Skip to content

Commit 60c5adf

Browse files
kstekoviclaude
andcommitted
[EAPQE-6016] Fix cy.flip() failing on multiple elements in wizard context
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
1 parent 62acf08 commit 60c5adf

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

packages/testsuite/cypress/support/form-editing.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@ Cypress.Commands.add("flip", (formId, attributeName, value) => {
115115
cy.formInput(formId, attributeName).wait(1000).should("not.be.checked");
116116
}
117117
cy.get('div[data-form-item-group="' + formId + "-" + attributeName + '-editing"]')
118+
.filter(":visible")
119+
.first()
118120
.scrollIntoView()
119121
.find(".bootstrap-switch-label")
120122
.click()

0 commit comments

Comments
 (0)