mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-02-23 18:36:02 -05:00
* . * 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>
17 lines
463 B
TypeScript
17 lines
463 B
TypeScript
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';
|
|
|
|
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
|
|
});
|
|
|
|
console.log('Auth created', config.USERS.DEV_1.EMAIL)
|
|
|
|
}
|
|
createAuth();
|