mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-08 11:30:12 +08:00
add new command(not yet finish loop enter command)
This commit is contained in:
1 parent
f9914b8095
commit
5a90b26af6
2 files changed
+4
-1
No files matched your search
@@ -128,7 +128,7 @@ describe('example helloworld app', () => {
|
|||||||
.should('contain', 'zsh: command not found: 12345')
|
.should('contain', 'zsh: command not found: 12345')
|
||||||
.and('contain', '12345')
|
.and('contain', '12345')
|
||||||
})
|
})
|
||||||
it('Complete the Game', () => {
|
it.only('Complete the Game(relating UI)', () => {
|
||||||
// get answersheet
|
// get answersheet
|
||||||
cy.get('@answers').then((answers) => {
|
cy.get('@answers').then((answers) => {
|
||||||
const answerarr = answers.split('\n')
|
const answerarr = answers.split('\n')
|
||||||
|
|||||||
@@ -59,3 +59,6 @@ Cypress.Commands.add('checkPending', () => {
|
|||||||
'pending'
|
'pending'
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
|
Cypress.Commands.add('Complete the Stage (only command)', () => {
|
||||||
|
cy.log('')
|
||||||
|
})
|
||||||
Reference in new issue
Block a user