test media navbar
This commit is contained in:
parent
468dca7bf5
commit
51635ecf20
1 changed files with 8 additions and 0 deletions
|
|
@ -2,6 +2,14 @@ describe('media page sets', () => {
|
||||||
it('fetches and renders seeded set cards', () => {
|
it('fetches and renders seeded set cards', () => {
|
||||||
cy.visit('/media')
|
cy.visit('/media')
|
||||||
|
|
||||||
|
cy.get('header.site-header').within(() => {
|
||||||
|
cy.contains('Torah Media').should('be.visible')
|
||||||
|
cy.contains('About').should('be.visible')
|
||||||
|
cy.contains('Contact').should('be.visible')
|
||||||
|
cy.contains('Donate').should('be.visible')
|
||||||
|
})
|
||||||
|
cy.contains('h1', 'Torah Media').should('be.visible')
|
||||||
|
cy.get('[data-cy="media-set-grid"]').should('be.visible')
|
||||||
cy.get('[data-cy="media-set-card"]', { timeout: 10000 })
|
cy.get('[data-cy="media-set-card"]', { timeout: 10000 })
|
||||||
.should('have.length', 1)
|
.should('have.length', 1)
|
||||||
.first()
|
.first()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue