extend timeout

This commit is contained in:
Annie Huang committed 2023-11-23 23:30:38 +08:00
1 parent 277d619518
commit 1944a69b53
1 file changed
+1 -1
+1 -1
View File
@@ -23,7 +23,7 @@ Cypress.Commands.add('PrepareForGame', () => {
cy.visit('/game/helloworld')
// make sure the game page is loaded
cy.url().should('include', '/game/helloworld')
cy.get('.xterm-screen', { timeout: 30000 })
cy.get('.xterm-screen', { timeout: 50000 })
.as('Terminaltextbox')
.should('be.visible')
cy.CheckTextElement('#reset', '重來', 'Reset').click()