You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

884 B

End-to-End (E2E) Testing

[!IMPORTANT] Only use the setup guidelines in this file if there is no existing E2E testing framework configured in the workspace, or if the user has explicitly requested to change or set up E2E testing.

Setting Up and Running E2E Tests

Add supported E2E frameworks to the project using ng add:

  • Playwright:
    ng add playwright-ng-schematics
    
  • Cypress:
    ng add @cypress/schematic
    
  • Nightwatch:
    ng add @nightwatch/schematics
    
  • WebdriverIO:
    ng add @wdio/schematics
    
  • Puppeteer:
    ng add @puppeteer/ng-schematics
    

Run E2E tests:

ng e2e [project] [options]

Custom & Enterprise Testing Tools

For custom enterprise runners (e.g., Katalon Studio, TestCafe, Selenium), define execution commands in package.json scripts.