fix cypress /map problem

update packages
This commit is contained in:
Annie Huang committed 2023-11-21 22:24:34 +08:00
1 parent 174941a37e
commit 4c85516bcb
4 files changed
+56 -32

No files matched your search

+1 -1
View File
@@ -70,7 +70,7 @@ describe('example helloworld app', () => {
Cypress.env('defaultAccount'),
Cypress.env('defaultPassword')
)
cy.url().should('include', '/game')
cy.url().should('include', '/map')
})
})
describe('Game Start Page UI', () => {
+1 -1
View File
@@ -13,7 +13,7 @@ Cypress.Commands.add('PrepareForGame', () => {
Cypress.env('defaultAccount'),
Cypress.env('defaultPassword')
)
cy.url().should('include', '/game')
cy.url().should('include', '/map')
cy.visit('/game/helloworld')
cy.get('.xterm-screen', { timeout: 10000 })
.as('Terminaltextbox')
+1 -1
View File
@@ -9,8 +9,8 @@
"test:open": "cypress open"
},
"dependencies": {
"cypress": "^13.5.0",
"@testing-library/cypress": "^10.0.1",
"cypress": "^13.5.1",
"dotenv": "^16.3.1"
}
}