Skip to content

Commit

Permalink
feat: try to reduce time cost
Browse files Browse the repository at this point in the history
  • Loading branch information
bzp2010 committed Sep 28, 2021
1 parent 0940e50 commit f451677
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/cypress/support/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Cypress.Commands.add('configurePlugin', ({ name, cases }) => {
.invoke('text')
.then((text) => {
if (text === 'Form') {
cy.wait(5000);
cy.wait(1000);
cy.get(domSelector.monacoMode).should('be.visible');
cy.get(domSelector.monacoMode).click();
cy.get(domSelector.selectDropdown).should('be.visible');
Expand All @@ -92,7 +92,7 @@ Cypress.Commands.add('configurePlugin', ({ name, cases }) => {
.then((text) => {
if (text === 'Form') {
// FIXME: https://github.com/cypress-io/cypress/issues/7306
cy.wait(5000);
cy.wait(1000);
cy.get(domSelector.monacoMode).should('be.visible');
cy.get(domSelector.monacoMode).click();
cy.get(domSelector.selectDropdown).should('be.visible');
Expand Down

0 comments on commit f451677

Please sign in to comment.