Skip to content

Commit

Permalink
fix(): Fix glossary_navigation.js (datahub-project#8864)
Browse files Browse the repository at this point in the history
  • Loading branch information
kkorchak authored Sep 20, 2023
1 parent 6c6216a commit 04833dd
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ describe("glossary sidebar navigation test", () => {
cy.waitTextVisible("No documentation yet");
cy.openThreeDotDropdown();
cy.clickOptionWithText("Move");
cy.get('[role="dialog"] [data-icon="close-circle"]').click({force: true});
cy.get('[role="dialog"]').contains(glossaryTermGroup).click();
cy.get('[role="dialog"]').contains(glossaryTermGroup).click({force: true});
cy.get('[role="dialog"]').contains(glossaryTermGroup).should("be.visible");
cy.get("button").contains("Move").click();
cy.waitTextVisible("Moved Glossary Term!");
Expand All @@ -33,8 +32,7 @@ describe("glossary sidebar navigation test", () => {
cy.clickOptionWithText(glossaryTermGroup);
cy.openThreeDotDropdown();
cy.clickOptionWithText("Move");
cy.get('[role="dialog"] [data-icon="close-circle"]').click({force: true});
cy.get('[role="dialog"]').contains(glossaryParentGroup).click();
cy.get('[role="dialog"]').contains(glossaryParentGroup).click({force: true});
cy.get('[role="dialog"]').contains(glossaryParentGroup).should("be.visible");
cy.get("button").contains("Move").click();
cy.waitTextVisible("Moved Term Group!");
Expand Down

0 comments on commit 04833dd

Please sign in to comment.