From c33e55f86a69f7f90bd16b9754cd57f800e71a19 Mon Sep 17 00:00:00 2001 From: APIYOJENNIFER Date: Mon, 21 Aug 2023 14:44:31 +0300 Subject: [PATCH] Force double click to delete a frozen data source --- frontend/cypress/integration/dataSources.cy.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/cypress/integration/dataSources.cy.js b/frontend/cypress/integration/dataSources.cy.js index eded92ca5..7fe5ee72e 100644 --- a/frontend/cypress/integration/dataSources.cy.js +++ b/frontend/cypress/integration/dataSources.cy.js @@ -203,7 +203,10 @@ describe('The Data Sources Page', () => { cy.get('[data-testid="frozen-data-description"]') .first() .contains('End-to-end test freeze data source'); - cy.get('[data-testid="frozen-data-delete-button"]').first().dblclick({ force: true }); + cy.get('[data-testid="frozen-data-delete-button"]') + .first() + .click({ force: true }) + .click({ force: true }); // Check row count after deleting cy.get('@dataSourceRowNumber').then((dataSourceRowNumber) => {