From 1944a69b5311dfd052dc902f48bc74f10fd1ff97 Mon Sep 17 00:00:00 2001 From: Annie Huang Date: Thu, 23 Nov 2023 23:30:38 +0800 Subject: [PATCH] extend timeout --- tests/cypress/support/commands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()