mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
fix cypress /map problem
update packages
This commit is contained in:
1 parent
174941a37e
commit
4c85516bcb
4 files changed
+56
-32
No files matched your search
@@ -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', () => {
|
||||
|
||||
@@ -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
@@ -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"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user