koel/cypress/integration/about.spec.ts
2022-05-03 18:51:59 +02:00

9 lines
321 B
TypeScript

context('About Koel', () => {
beforeEach(() => cy.$login())
it('displays the About modal', () => {
cy.findByTestId('about-btn').click()
cy.findByTestId('about-modal').should('be.visible').within(() => cy.findByTestId('close-modal-btn').click())
cy.findByTestId('about-modal').should('not.exist')
})
})