From b47da483efcaafcd157e2b9fac73df75e6aa4574 Mon Sep 17 00:00:00 2001 From: Mahdi Pourismaiel Date: Fri, 22 May 2020 20:47:05 +0430 Subject: [PATCH] Fix list item count in the list test --- cypress/integration/list.spec.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cypress/integration/list.spec.js b/cypress/integration/list.spec.js index 93882288..a79d390a 100644 --- a/cypress/integration/list.spec.js +++ b/cypress/integration/list.spec.js @@ -1,8 +1,8 @@ describe("List fragment", () => { it("should display pages from same, specific section, with subsections and with subsection leaves", () => { cy.visit("/dev/list"); - cy.get("#upper-leaves article").should("have.length", 4); - cy.get("#branches article").should("have.length", 6); - cy.get("#leaves article").should("have.length", 10); + cy.get("#upper-leaves article").should("have.length", 2); + cy.get("#branches article").should("have.length", 4); + cy.get("#leaves article").should("have.length", 8); }); });