We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39cc70d commit 1e33705Copy full SHA for 1e33705
smoke-test/tests/cypress/cypress/e2e/manage_tagsV2/helpers/tags_page_helper.js
@@ -21,7 +21,8 @@ export default class TagsPageHelper {
21
// Wait for modal to close - check that add button is available again
22
cy.getWithTestId("add-tag-button").should("be.visible");
23
} else {
24
- cy.waitTextVisible("Failed to create tag. An unexpected error occurred");
+ // Wait for any error message that starts with "Failed to create tag."
25
+ cy.contains(/Failed to create tag\./).should("be.visible");
26
cy.clickOptionWithTestId("create-tag-modal-cancel-button");
27
}
28
0 commit comments