koel/cypress/integration/remote.spec.js
2019-12-27 11:58:14 +07:00

11 lines
No EOL
281 B
JavaScript

describe('remote', () => {
it('requires login', () => {
cy.visit('/remote')
cy.get('[data-cy=loginForm]').should('be.visible')
})
it('logs in with valid username and password', () => {
cy.login('/remote')
cy.get('[data-cy=main]').should('be.visible')
})
})