From 04833dd48f1ecf3bf6e6e0e93fd27f3f81cb8a82 Mon Sep 17 00:00:00 2001 From: Kos Korchak <97058061+kkorchak@users.noreply.github.com> Date: Wed, 20 Sep 2023 15:05:15 -0400 Subject: [PATCH] fix(): Fix glossary_navigation.js (#8864) --- .../cypress/cypress/e2e/glossary/glossary_navigation.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/smoke-test/tests/cypress/cypress/e2e/glossary/glossary_navigation.js b/smoke-test/tests/cypress/cypress/e2e/glossary/glossary_navigation.js index de9fa7ecda1f0b..e0d2bf240d74d6 100644 --- a/smoke-test/tests/cypress/cypress/e2e/glossary/glossary_navigation.js +++ b/smoke-test/tests/cypress/cypress/e2e/glossary/glossary_navigation.js @@ -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!"); @@ -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!");