From 2da3d893dd70cdc034090c8f10ab44c919a8aaed Mon Sep 17 00:00:00 2001 From: Sylvain Pastor Date: Wed, 29 Nov 2023 10:06:03 +0100 Subject: [PATCH] test: fix entries table test --- cypress/e2e/pia-angular/entries/entries_table.spec.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cypress/e2e/pia-angular/entries/entries_table.spec.js b/cypress/e2e/pia-angular/entries/entries_table.spec.js index 3ca683554..27d7ce575 100644 --- a/cypress/e2e/pia-angular/entries/entries_table.spec.js +++ b/cypress/e2e/pia-angular/entries/entries_table.spec.js @@ -11,7 +11,7 @@ describe("Entries_table", () => { // Skip tutorial cy.disable_onboarding(); cy.visit(`/#/entries`); - cy.get(".pia-filtersBlock-switch").click(); + // cy.get(".pia-filtersBlock-switch").click({force: true}); }); /** @@ -19,6 +19,7 @@ describe("Entries_table", () => { */ context("entries_table", () => { it("change display and check if there is a table", () => { + cy.get(".pia-filtersBlock-switch").click({ force: true }); cy.get("table").should("exist"); });