diff --git a/web/cypress/integration/plugin/create_and_delete_plugin.spec.js b/web/cypress/integration/plugin/create_and_delete_plugin.spec.js index 9f3ce86ff8..52643db5c7 100644 --- a/web/cypress/integration/plugin/create_and_delete_plugin.spec.js +++ b/web/cypress/integration/plugin/create_and_delete_plugin.spec.js @@ -42,7 +42,6 @@ context('Create and Delete Plugin List', () => { it('should delete plugin list', () => { cy.visit('/'); cy.contains('Plugin').click(); - cy.get(domSelectors.refresh).click(); cy.get(domSelectors.tableCell).then(function (rows) { [...rows].forEach((row) => { diff --git a/web/cypress/support/commands.js b/web/cypress/support/commands.js index 2a1abf229e..4367ade044 100644 --- a/web/cypress/support/commands.js +++ b/web/cypress/support/commands.js @@ -65,6 +65,7 @@ Cypress.Commands.add('configurePlugins', (cases) => { }); // NOTE: wait for the Drawer to appear on the DOM + cy.get({ timeout }); cy.get(domSelectors.drawer).within(() => { cy.get(domSelectors.switch).click({ force: true,