Skip to content

Commit 5b02a0a

Browse files
authored
Update edit_documentation.js
1 parent 38c11f4 commit 5b02a0a

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

smoke-test/tests/cypress/cypress/e2e/mutations/edit_documentation.js

+8-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@ describe("edit documentation and link to dataset", () => {
3636
cy.openEntityTab("Documentation");
3737
cy.contains("Sample doc").trigger("mouseover", { force: true });
3838
cy.get('[data-icon="delete"]').click().wait(1000);
39-
cy.get('button').contains('span', 'OK').should('be.visible').click({ force: true });
39+
cy.get("button")
40+
.contains("span", "OK")
41+
.should("be.visible")
42+
.click({ force: true });
4043
cy.waitTextVisible("Link Removed");
4144
cy.clickOptionWithTestId("add-link-button").wait(1000);
4245
cy.enterTextInTestId("add-link-modal-url", wrong_url);
@@ -71,7 +74,10 @@ describe("edit documentation and link to dataset", () => {
7174
cy.get(`[href='${correct_url}']`).should("be.visible");
7275
cy.contains("Sample doc").trigger("mouseover", { force: true });
7376
cy.get('[data-icon="delete"]').click().wait(1000);
74-
cy.get('button').contains('span', 'OK').should('be.visible').click({ force: true });
77+
cy.get("button")
78+
.contains("span", "OK")
79+
.should("be.visible")
80+
.click({ force: true });
7581
cy.waitTextVisible("Link Removed");
7682
});
7783

0 commit comments

Comments
 (0)