test storage media seeds
This commit is contained in:
parent
1934a6b94f
commit
247433bc60
3 changed files with 17 additions and 46 deletions
|
|
@ -47,7 +47,7 @@ describe('media page sets', () => {
|
|||
cy.get('[data-cy="element-icon"]')
|
||||
.should('be.visible')
|
||||
.and('have.attr', 'src')
|
||||
.and('include', '/assets/baderech-haavodah-icon.png')
|
||||
.and('include', '/storage/element-icons/baderech-haavodah-icon.png')
|
||||
cy.get('[data-cy="element-rich-text"]').should('not.exist')
|
||||
cy.get('[data-cy="element-youtube-embed"]')
|
||||
.should('not.exist')
|
||||
|
|
@ -118,7 +118,8 @@ describe('media page sets', () => {
|
|||
cy.get('[data-cy="element-youtube-embed"]').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', 'href')
|
||||
.and('include', '/storage/element-pdfs/baderech.pdf')
|
||||
.and('have.attr', 'target', '_blank')
|
||||
cy.contains('[data-cy="child-element-link"]', introductionAudioTitle)
|
||||
.as('introductionAudioLink')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue