From 96c0785a7e1db0638ca8351690a382d7ad4a091b Mon Sep 17 00:00:00 2001 From: "Chen, Tai-Lin" Date: Thu, 23 Nov 2023 23:26:11 +0800 Subject: [PATCH] change e2e test --- tests/cypress/e2e/helloworld.cy.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/cypress/e2e/helloworld.cy.js b/tests/cypress/e2e/helloworld.cy.js index aaba53f..dd35431 100644 --- a/tests/cypress/e2e/helloworld.cy.js +++ b/tests/cypress/e2e/helloworld.cy.js @@ -78,9 +78,7 @@ describe('example helloworld app', () => { cy.PrepareForGame() }) it('Check Header', () => { - cy.get('#HeaderText') - .should('contain', 'Hello, Linux World!') - .and('be.visible') + cy.get('#HeaderText').should('contain', 'Linux Odyssey').and('be.visible') cy.findByRole('link', { name: 'Bug Report' }).should('be.visible') cy.findByRole('button', { name: 'Sign Out' }).should('be.visible') })