diff --git a/tests/cypress/support/commands.js b/tests/cypress/support/commands.js index 9edb868..c5e99d1 100644 --- a/tests/cypress/support/commands.js +++ b/tests/cypress/support/commands.js @@ -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()