From d6a882fff18a84d5e52123d7477780857b8601c4 Mon Sep 17 00:00:00 2001 From: Troels Ugilt Jensen <6103205+tuj@users.noreply.github.com> Date: Sun, 24 Sep 2023 07:59:51 +0200 Subject: [PATCH] DISPLAY-993: Adjusted tests to fit menu changes --- src/components/navigation/topbar/top-bar.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/navigation/topbar/top-bar.spec.js b/src/components/navigation/topbar/top-bar.spec.js index 3a7c1288..d60f5da7 100644 --- a/src/components/navigation/topbar/top-bar.spec.js +++ b/src/components/navigation/topbar/top-bar.spec.js @@ -88,7 +88,7 @@ describe("Nav items loads", () => { cy.get("#basic-navbar-nav-burger").click(); cy.get("#basic-navbar-nav").should("exist"); cy.get("#basic-navbar-nav").find(".nav-item").should("have.length", 13); - cy.get("#basic-navbar-nav").find(".nav-add-new").should("have.length", 4); + cy.get("#basic-navbar-nav").find(".nav-add-new").should("have.length", 3); cy.get("#basic-navbar-nav").find("#topbar_signout").should("be.visible"); }); });