Compare commits
No commits in common. "a317f24976229118fe8c268e778e775bf966777b" and "f204f471d095441ad4b019b06c9870561761b159" have entirely different histories.
a317f24976
...
f204f471d0
1 changed files with 3 additions and 3 deletions
|
|
@ -4,7 +4,7 @@ describe('homepage hero', () => {
|
|||
})
|
||||
|
||||
it('renders the header navigation', () => {
|
||||
cy.get('header.site-header').within(() => {
|
||||
cy.get('header').within(() => {
|
||||
cy.contains('Torah Media').should('be.visible')
|
||||
cy.contains('About').should('be.visible')
|
||||
cy.contains('Contact').should('be.visible')
|
||||
|
|
@ -13,10 +13,10 @@ describe('homepage hero', () => {
|
|||
})
|
||||
|
||||
it('opens the Torah Media page from the header navigation', () => {
|
||||
cy.contains('header.site-header a', 'Torah Media').click()
|
||||
cy.contains('header a', 'Torah Media').click()
|
||||
|
||||
cy.location('pathname').should('eq', '/media')
|
||||
cy.get('header.site-header').within(() => {
|
||||
cy.get('header').within(() => {
|
||||
cy.contains('Torah Media').should('be.visible')
|
||||
cy.contains('About').should('be.visible')
|
||||
cy.contains('Contact').should('be.visible')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue