From 1983f94204e1f3af8ffa73abbfafd84ca32a8335 Mon Sep 17 00:00:00 2001 From: Timofei Kachalov Date: Fri, 23 May 2025 17:18:57 +0400 Subject: [PATCH] Make PDF test compatible both with 54 and 55 --- e2e/test/compatibility.cy.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/test/compatibility.cy.spec.js b/e2e/test/compatibility.cy.spec.js index e8e7a7d..0ffb6d2 100644 --- a/e2e/test/compatibility.cy.spec.js +++ b/e2e/test/compatibility.cy.spec.js @@ -77,7 +77,7 @@ const TIMEOUT_MS = 20000; expect(cy.findByTestId("embed-frame", {timeout: TIMEOUT_MS}).should("exist")); cy.findByTestId("embed-frame", {timeout: TIMEOUT_MS}).within(() => { cy.findByTestId("fixed-width-dashboard-header").within(() => { - cy.findByText('Export tab as PDF').click(); + cy.get('button svg.Icon-download, button svg.Icon-document').first().click(); }); cy.readFile('cypress/downloads/E-commerce Insights.pdf', {timeout: TIMEOUT_MS}).should('exist');