Skip to content

Commit

Permalink
chore: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jess Divers committed Oct 15, 2024
1 parent d834028 commit 3b0b2dc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cypress/e2e/collectionDetailPage.cy.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
describe('Collection Detail Page', () => {
it('Visits a Collection Detail Page', () => {
cy.visit('/collections/test-collection-two')
cy.visit('/collections/test-get-used-to-it')
cy.getByData('breadcrumb').should('be.visible')
// sharebutton should be visible
cy.getByData('share-button').should('be.visible')
// cta should be in sidebar w specific data
cy.getByData('sidebar-cta').should('be.visible')
cy.percySnapshot('collectiondetailpage', { widths: [768, 992, 1200] })
})
})

0 comments on commit 3b0b2dc

Please sign in to comment.