Skip to content

Commit 9dd9bb9

Browse files
committed
Cypress: Sets "defaultCommandTimeout" to 4s
1 parent cea5272 commit 9dd9bb9

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

cypress.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
22
"baseUrl": "http://localhost:6009",
3+
"defaultCommandTimeout": 10000,
34
"viewportWidth": 500
45
}

cypress/support/commands.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ Cypress.Commands.add('typeIn', { prevSubject: true }, (subject, nextText) => {
3737
cy.log(`Type "${nextText}"`)
3838
.wrap(subject)
3939
.type(nextText, { delay: 50 })
40-
.wait(50)
4140
.should('have.value', nextText)
4241
})
4342

0 commit comments

Comments
 (0)