Skip to content

Commit 0b3519a

Browse files
committed
fix: update local test running examples in readme
1 parent 0b121ff commit 0b3519a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,11 @@ Before starting test execution, you need to set environment variables in any con
6969
### Local test running
7070
Example of running tests for the Portal with three workers:
7171
```Shell
72-
npx playwright test --project=Portal --j=3
72+
npx playwright test --project=Portal --workers=3
73+
```
74+
Example of running only the tests that failed in the previous run:
75+
```Shell
76+
npx playwright test --project=Portal --last-failed
7377
```
7478
You can open the HTML report with the following command:
7579
```Shell

0 commit comments

Comments
 (0)