Skip to content

Commit

Permalink
test: update code
Browse files Browse the repository at this point in the history
  • Loading branch information
guoqqqi committed Jan 24, 2021
1 parent ef21238 commit ab5b869
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions web/cypress/support/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +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.drawer, { timeout }).within(() => {
cy.get(domSelectors.switch).click({
force: true,
timeout,
Expand Down

0 comments on commit ab5b869

Please sign in to comment.