update tests

- having bug testing blocked by limited reset time
- not yet check the playing part is fine

(cherry picked from commit c510e4a541)
This commit is contained in:
Annie Huang committed 2023-11-13 22:20:10 +08:00
1 parent 837712b742
commit 610eb3d2b7
4 files changed
+14 -3

No files matched your search

+4
View File
@@ -20,6 +20,10 @@ Cypress.Commands.add('PrepareForGame', () => {
'contain',
'commander:~ $'
)
cy.get('@Terminaltextbox', { timeout: 150000 }).should(
'contain',
'commander:~ $'
)
})
Cypress.Commands.add('typeInCommand', (command) => {
cy.get('.xterm-screen', { timeout: 150000 }).type(command)