overleaf/server-ce/test/accounts.spec.ts
Jakob Ackermann 8eb8b233c0 Merge pull request #18316 from overleaf/jpa-host-admin
[server-ce] e2e tests: add capability for reconfiguring the instance

GitOrigin-RevId: 44ec800b5b37497b3122310a94f637c24ff2667a
2024-05-30 08:05:22 +00:00

14 lines
384 B
TypeScript

import { ensureUserExists, login } from './helpers/login'
import { startWith } from './helpers/config'
describe('Accounts', function () {
startWith({})
ensureUserExists({ email: 'user@example.com' })
it('can log in and out', function () {
login('user@example.com')
cy.visit('/project')
cy.findByText('Account').click()
cy.findByText('Log Out').click()
})
})