mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
8eb8b233c0
[server-ce] e2e tests: add capability for reconfiguring the instance GitOrigin-RevId: 44ec800b5b37497b3122310a94f637c24ff2667a
14 lines
384 B
TypeScript
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()
|
|
})
|
|
})
|