This project was generated with Angular CLI version 13.2.6.
Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.
Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.
Run ng build to build the project. The build artifacts will be stored in the dist/ directory.
Run ng test to execute the unit tests via Karma.
This project uses Playwright for end-to-end testing with Firebase emulator integration. The testing setup supports two environments:
- Uses
local.dev.com:4200for hCaptcha compatibility - Requires adding
127.0.0.1 local.dev.comto your hosts file - Run tests:
pnpm e2eorpnpm e2e:local - Run with UI:
pnpm e2e:headedorpnpm e2e:local:headed
- Uses
localhost:4200 - Automatically starts Angular dev server
- Run tests:
pnpm e2e:ci - Run with UI:
pnpm e2e:ci:headed
pnpm e2e:debug- Run tests in debug modepnpm e2e:ui- Run tests in Playwright UI modepnpm e2e:report- View test reportspnpm e2e:install- Install Playwright browsers
Tests automatically start and configure Firebase emulators. For tests requiring authentication, use the firebasePage fixture which includes Firebase emulator configuration.
To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.