Skip to content

Commit

Permalink
Add extra info about Quality Assurance
Browse files Browse the repository at this point in the history
  • Loading branch information
1j01 committed Jun 30, 2024
1 parent 52542fb commit 493aa02
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,24 @@ npm test
npm run lint
```

Debug tests or run them when code changes using the Playwright UI:

```
npx playwright test --ui
```

Quickly add tests using the code generator:

```
# Note: this runs the server, and currently leaves it running when closing the browser.
# Could use `start-server-and-test` to fix this, or see if there's an option in `npm-run-all`'s `run-p` command.
# (There's no option in `playwright codegen --help` to run the server, even though it's configured in `playwright.config.js`)
npm run test-codegen
```

There are also VS Code extensions for Playwright and Cspell (Code Spell Checker).


### Managing Subrepos

To update subrepos, or push changes to them, install [git-subrepo](https://github.com/ingydotnet/git-subrepo). You don't need this tool to clone the project and get up and running, as subrepos are just normal subdirectories with a `.gitrepo` metadata file.
Expand Down

0 comments on commit 493aa02

Please sign in to comment.