koel/cypress/integration/about.spec.ts
2021-01-05 00:06:00 +01:00

9 lines
324 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.get('[data-test=close-modal-btn]').click())
cy.findByTestId('about-modal').should('not.exist')
})
})