fix; cypress use 'get-started' as test quest

This commit is contained in:
Lin, Hung-Shin committed 2023-11-23 23:29:19 +08:00
1 parent 2cc8a98734
commit f03a544108
2 files changed
+40 -55

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ Cypress.Commands.add('PrepareForGame', () => {
Cypress.env('defaultPassword')
)
cy.url().should('include', '/map')
cy.visit('/game/helloworld')
cy.visit('/game/get-started')
cy.get('.xterm-screen', { timeout: 10000 })
.as('Terminaltextbox')
.should('be.visible')