diff --git a/tests/cypress/e2e/helloworld.cy.js b/tests/cypress/e2e/helloworld.cy.js index cbdd011..5894660 100644 --- a/tests/cypress/e2e/helloworld.cy.js +++ b/tests/cypress/e2e/helloworld.cy.js @@ -128,7 +128,7 @@ describe('example helloworld app', () => { .should('contain', 'zsh: command not found: 12345') .and('contain', '12345') }) - it('Complete the Game', () => { + it.only('Complete the Game(relating UI)', () => { // get answersheet cy.get('@answers').then((answers) => { const answerarr = answers.split('\n') diff --git a/tests/cypress/support/commands.js b/tests/cypress/support/commands.js index f6d6746..fa0f4b6 100644 --- a/tests/cypress/support/commands.js +++ b/tests/cypress/support/commands.js @@ -59,3 +59,6 @@ Cypress.Commands.add('checkPending', () => { 'pending' ) }) +Cypress.Commands.add('Complete the Stage (only command)', () => { + cy.log('') +})