Skip to content

Commit 1e33705

Browse files
Anirudh Reddy MalgariAnirudh Reddy Malgari
authored andcommitted
Fixed more CI cypress failures
1 parent 39cc70d commit 1e33705

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

smoke-test/tests/cypress/cypress/e2e/manage_tagsV2/helpers/tags_page_helper.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ export default class TagsPageHelper {
2121
// Wait for modal to close - check that add button is available again
2222
cy.getWithTestId("add-tag-button").should("be.visible");
2323
} else {
24-
cy.waitTextVisible("Failed to create tag. An unexpected error occurred");
24+
// Wait for any error message that starts with "Failed to create tag."
25+
cy.contains(/Failed to create tag\./).should("be.visible");
2526
cy.clickOptionWithTestId("create-tag-modal-cancel-button");
2627
}
2728
}

0 commit comments

Comments
 (0)