From a6f3c313f58c54610f24145ccc9517fa3759eabc Mon Sep 17 00:00:00 2001 From: Patrick Browne Date: Wed, 24 Aug 2022 17:01:59 +0200 Subject: [PATCH] fix: Bypass ensureScrollable since on Github actions, the test fail --- cypress/integration/edition.spec.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cypress/integration/edition.spec.ts b/cypress/integration/edition.spec.ts index b15c04565..338dfde95 100644 --- a/cypress/integration/edition.spec.ts +++ b/cypress/integration/edition.spec.ts @@ -36,7 +36,9 @@ describe("Editing a chart", () => { cy.findByText("Communication").click(); cy.findByText("Apply filters").click(); - cy.get('[data-name="panel-middle"]').scrollTo(0, 200); + cy.get('[data-name="panel-middle"]').scrollTo(0, 200, { + ensureScrollable: false, + }); cy.waitForNetworkIdle(1000); waitForChartToBeLoaded(); cy.screenshot(`chart-edition-${key}`);