test introduction pdf
This commit is contained in:
parent
6cb215a7bf
commit
c1f6437769
2 changed files with 8 additions and 1 deletions
|
|
@ -108,6 +108,9 @@ describe('media page sets', () => {
|
|||
.and('contain.text', 'So many are Hashkafikly homeless')
|
||||
.and('contain.text', 'the life we were created for.')
|
||||
cy.get('[data-cy="element-youtube-embed"]').should('not.exist')
|
||||
cy.get('[data-cy="element-pdf-link"]').should('not.exist')
|
||||
cy.contains('[data-cy="element-pdf-link"]', 'View PDF')
|
||||
.should('be.visible')
|
||||
.and('have.attr', 'href', '/assets/pdfs/baderech.pdf')
|
||||
.and('have.attr', 'target', '_blank')
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue