Files
Compass/tests/e2e/web/specs/signUp.spec.ts
Martin Braquet ba9b3cfb06 Add pretty formatting (#29)
* Test

* Add pretty formatting

* Fix Tests

* Fix Tests

* Fix Tests

* Fix

* Add pretty formatting fix

* Fix

* Test

* Fix tests

* Clean typeckech

* Add prettier check

* Fix api tsconfig

* Fix api tsconfig

* Fix tsconfig

* Fix

* Fix

* Prettier
2026-02-20 17:32:27 +01:00

23 lines
586 B
TypeScript

import {expect} from '@playwright/test'
import {test} from '../fixtures/deleteUserFixture'
import {AuthPage} from '../pages/AuthPage'
import {config} from '../SPEC_CONFIG'
test('user can sign up with email + password', async ({page}) => {
const auth = new AuthPage(page)
await page.goto('/')
await auth.clickSignUpButton()
await auth.fillEmailField(config.USERS.SPEC.EMAIL)
await auth.fillPasswordField(config.USERS.SPEC.PASSWORD)
await auth.clickSignUpWithEmailButton()
await page.waitForURL(/^(?!.*\/signup).*$/)
expect(page.url()).not.toContain('/signup')
})