Skip to content

Commit c948fc8

Browse files
ngodugu-marklogicMarkLogic Builder
authored andcommitted
DHFPROD-6950: Fix the failing cypress e2e scripts
1 parent afe0ed2 commit c948fc8

File tree

1 file changed

+2
-2
lines changed
  • marklogic-data-hub-central/ui/e2e/cypress/support

1 file changed

+2
-2
lines changed

marklogic-data-hub-central/ui/e2e/cypress/support/commands.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ Cypress.Commands.add("logout", () => {
111111
});
112112

113113
Cypress.Commands.add("verifyStepAddedToFlow", (stepType, stepName) => {
114-
cy.findAllByText(stepType).last().should("be.visible");
115-
cy.findAllByText(stepName).last().should("be.visible");
114+
cy.findByText(stepType).should("be.visible");
115+
cy.findByText(stepName).should("be.visible");
116116
});
117117

118118
Cypress.Commands.add("waitForModalToDisappear", () => {

0 commit comments

Comments
 (0)