Example playwright tests using Todo MVC
- Ensure that you have Node.js installed
- Run
npm install
Three NPM scripts are defined:
ui
- runsplaywright test --ui
to start Playwright in UI mode,test
- runsplaywright test
to run all defined Playwright tests, and,codegen
- runsplaywright codegen https://demo.playwright.dev/todomvc/#/
to start Playwright incodegen
mode.