Adding onboarding E2E foundations and first tests (#30)

* .

* Centralizing config details

* Added data-testId attributes where necessary and started the onboarding flow scaffolding

* Continued onboarding test scaffolding

* Continued work on tests for the Onboarding flow

* .

* Updated "Want kids" options to be less flaky
Updated playwright.config so that expect timeout matching test timeout

* Continued updating front-end scaffolding

* .

* .

* .

* .

* Updated fixture function deleteUser: to also remove the database user information

* Rm

* Fix

* Fixes

---------

Co-authored-by: MartinBraquet <martin.braquet@gmail.com>
This commit is contained in:
Okechi Jones-Williams
2026-02-20 15:56:26 +00:00
committed by GitHub
parent 1c26b6381e
commit 1994697fa1
27 changed files with 3729 additions and 2304 deletions

View File

@@ -2,9 +2,9 @@ import axios from 'axios';
import { config } from '../tests/e2e/web/SPEC_CONFIG.js';
async function createAuth() {
const base = 'http://localhost:9099/identitytoolkit.googleapis.com/v1';
// const base = 'http://localhost:9099/identitytoolkit.googleapis.com/v1';
await axios.post(`${base}/accounts:signUp?key=fake-api-key`, {
await axios.post(`${config.FIREBASE_URL.BASE}${config.FIREBASE_URL.SIGNUP}`, {
email: config.USERS.DEV_1.EMAIL,
password: config.USERS.DEV_1.PASSWORD,
returnSecureToken: true