Yuki Takei 4 лет назад
Родитель
Сommit
de2383a8e0

+ 2 - 0
packages/app/cypress/integration/2-advanced-examples/viewport.spec.ts

@@ -25,6 +25,7 @@ context('Viewport', () => {
     // We added a cy.wait() between each viewport change so you can see
     // the change otherwise it is a little too fast to see :)
 
+    /* eslint-disable cypress/no-unnecessary-waiting */
     cy.viewport('macbook-15')
     cy.wait(200)
     cy.viewport('macbook-13')
@@ -52,6 +53,7 @@ context('Viewport', () => {
     cy.wait(200)
     cy.viewport('iphone-4', 'landscape')
     cy.wait(200)
+    /* eslint-enable cypress/no-unnecessary-waiting */
 
     // The viewport will be reset back to the default dimensions
     // in between tests (the  default can be set in cypress.json)