mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-07 19:10:12 +08:00
extend timeout
This commit is contained in:
1 parent
277d619518
commit
1944a69b53
1 file changed
+1
-1
@@ -23,7 +23,7 @@ Cypress.Commands.add('PrepareForGame', () => {
|
|||||||
cy.visit('/game/helloworld')
|
cy.visit('/game/helloworld')
|
||||||
// make sure the game page is loaded
|
// make sure the game page is loaded
|
||||||
cy.url().should('include', '/game/helloworld')
|
cy.url().should('include', '/game/helloworld')
|
||||||
cy.get('.xterm-screen', { timeout: 30000 })
|
cy.get('.xterm-screen', { timeout: 50000 })
|
||||||
.as('Terminaltextbox')
|
.as('Terminaltextbox')
|
||||||
.should('be.visible')
|
.should('be.visible')
|
||||||
cy.CheckTextElement('#reset', '重來', 'Reset').click()
|
cy.CheckTextElement('#reset', '重來', 'Reset').click()
|
||||||
|
|||||||
Reference in new issue
Block a user