Skip to content

Commit d2604e5

Browse files
authored
Update nested_domains.js
1 parent 454df29 commit d2604e5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

smoke-test/tests/cypress/cypress/e2e/domains/nested_domains.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,11 @@ const clearAndDelete = () => {
9393
cy.clickOptionWithTestId("description-editor-save-button");
9494
cy.waitTextVisible("No documentation");
9595
cy.mouseover(".ant-list-item-meta-content");
96-
cy.get('[aria-label="delete"]').click();
96+
cy.get('[aria-label="delete"]').click().wait(1000);
97+
cy.get("button")
98+
.contains("span", "Yes")
99+
.should("be.visible")
100+
.click({ force: true });
97101
cy.waitTextVisible("Link Removed");
98102
};
99103

0 commit comments

Comments
 (0)