mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-08 03:20:12 +08:00
change e2e test
This commit is contained in:
1 parent
9e7065fbd7
commit
96c0785a7e
1 file changed
+1
-3
@@ -78,9 +78,7 @@ describe('example helloworld app', () => {
|
|||||||
cy.PrepareForGame()
|
cy.PrepareForGame()
|
||||||
})
|
})
|
||||||
it('Check Header', () => {
|
it('Check Header', () => {
|
||||||
cy.get('#HeaderText')
|
cy.get('#HeaderText').should('contain', 'Linux Odyssey').and('be.visible')
|
||||||
.should('contain', 'Hello, Linux World!')
|
|
||||||
.and('be.visible')
|
|
||||||
cy.findByRole('link', { name: 'Bug Report' }).should('be.visible')
|
cy.findByRole('link', { name: 'Bug Report' }).should('be.visible')
|
||||||
cy.findByRole('button', { name: 'Sign Out' }).should('be.visible')
|
cy.findByRole('button', { name: 'Sign Out' }).should('be.visible')
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in new issue
Block a user