Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: cannot delete multiple plugins without page refreshing #1317

Merged
merged 16 commits into from
Jan 25, 2021
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down
1 change: 1 addition & 0 deletions web/cypress/support/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down