change verify order

This commit is contained in:
Annie Huang committed 2023-11-23 23:36:30 +08:00
1 parent 1944a69b53
commit fe604f3781
1 file changed
+2 -2
+2 -2
View File
@@ -137,8 +137,8 @@ describe('example helloworld app', () => {
it('Typing in Terminal', () => { it('Typing in Terminal', () => {
cy.typeInCommand('12345{enter}') cy.typeInCommand('12345{enter}')
cy.get('@Terminaltextbox') cy.get('@Terminaltextbox')
.should('contain', 'zsh: command not found: 12345', { timeout: 50000 }) .should('contain', '12345')
.and('contain', '12345') .and('contain', 'zsh: command not found: 12345', { timeout: 50000 })
}) })
it('Complete the Game(relating UI)', () => { it('Complete the Game(relating UI)', () => {
// get answersheet // get answersheet