This project was generated with Angular CLI version 17.3.13.
Setup angular 17 app, without global cli version conflict:
npx @angular/cli@17 new my-app
npx @angular/cli@17 new my-app --no-standalone
Run ng e2e
to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
npx playwright test
npx playwright show-report
npx playwright show-trace
open browser manually (parallelly run ng serve in another terminal)
npx playwright test --headed
npx playwright test e2e/user-grid.spec.ts --headed
check if the allure-results/ folder is being created
npx playwright test --reporter=line,allure-playwright
ng g m app-routing --flat --module=app
npx playwright show-trace test-results//trace.zip
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The application 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.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.