Test annotations
Good job! 👏
Please wait for the others to finish so we could go through the solution to this exercise together.
Things you can do with tags:
- Run a subset of tests:
npm test -- --grep=@user
npm test -- --grep=@user|@profile
- You can also filter and run subset of tests from the UI mode (the "Filter" input at the top left).
- You can filter the test results in the test report (
show-report
) by tags.
Things you can do with annotations:
npx playwright show-report
# And then click on the failing test.
# Custom annotataions will list extra info to help you debug.