Skip to content

Commit 39cc70d

Browse files
Anirudh Reddy MalgariAnirudh Reddy Malgari
authored andcommitted
fix CI test
1 parent 32d6483 commit 39cc70d

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
@@ -18,7 +18,8 @@ export default class TagsPageHelper {
1818
cy.clickOptionWithTestId("create-tag-modal-create-button");
1919

2020
if (shouldBeSuccessfullyCreated) {
21-
cy.getWithTestId("create-tag-modal").should("not.exist");
21+
// Wait for modal to close - check that add button is available again
22+
cy.getWithTestId("add-tag-button").should("be.visible");
2223
} else {
2324
cy.waitTextVisible("Failed to create tag. An unexpected error occurred");
2425
cy.clickOptionWithTestId("create-tag-modal-cancel-button");

0 commit comments

Comments
 (0)