accounts.spec.ts 384 B

1234567891011121314
  1. import { ensureUserExists, login } from './helpers/login'
  2. import { startWith } from './helpers/config'
  3. describe('Accounts', function () {
  4. startWith({})
  5. ensureUserExists({ email: 'user@example.com' })
  6. it('can log in and out', function () {
  7. login('user@example.com')
  8. cy.visit('/project')
  9. cy.findByText('Account').click()
  10. cy.findByText('Log Out').click()
  11. })
  12. })