mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-05 19:20:12 +08:00
extend typing delay to prevent test fail
This commit is contained in:
1 parent
d0b179108a
commit
e0b3ec74de
1 file changed
+1
-1
@@ -39,7 +39,7 @@ Cypress.Commands.add('InitTerminal', () => {
|
|||||||
})
|
})
|
||||||
Cypress.Commands.add('typeInCommand', (command) => {
|
Cypress.Commands.add('typeInCommand', (command) => {
|
||||||
cy.get('.xterm-screen', { timeout: 150000 }).type(command, {
|
cy.get('.xterm-screen', { timeout: 150000 }).type(command, {
|
||||||
delay: 60,
|
delay: 80,
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
Cypress.Commands.add('getQuestInfo', (id) => {
|
Cypress.Commands.add('getQuestInfo', (id) => {
|
||||||
|
|||||||
Reference in new issue
Block a user