change e2e test

This commit is contained in:
Chen, Tai-Lin committed 2023-11-23 23:26:11 +08:00
1 parent 9e7065fbd7
commit 96c0785a7e
1 file changed
+1 -3
+1 -3
View File
@@ -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')
})