Skip to content

Commit

Permalink
Force double click to delete a frozen data source
Browse files Browse the repository at this point in the history
  • Loading branch information
APIYOJENNIFER committed Aug 23, 2023
1 parent 1ec68ac commit c33e55f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion frontend/cypress/integration/dataSources.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit c33e55f

Please sign in to comment.