You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-1Lines changed: 11 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,12 @@ Before starting test execution, you need to set environment variables in any con
26
26
27
27
**TEST_USER_PASSWORD** - The password that will be used by test users.
28
28
29
+
**PLAYGROUND_BACKEND_HOST** - Only Required for testing on **localhost**. The host that will be used in the test to create a custom server for sending requests. More information can be found at the [link](https://github.com/Netcracker/qubership-apihub/issues/18).
30
+
31
+
**DEV_PROXY_MODE** - Only Required for testing on **localhost** in dev proxy mode.
32
+
33
+
`true` - skip tests that cannot be executed in this mode.
34
+
29
35
### Optional environment variables:
30
36
**TICKET_SYSTEM_URL** - Base address of the ticket management system. Adds interactivity to links to test cases and issues.
31
37
@@ -69,7 +75,11 @@ Before starting test execution, you need to set environment variables in any con
69
75
### Local test running
70
76
Example of running tests for the Portal with three workers:
71
77
```Shell
72
-
npx playwright test --project=Portal --j=3
78
+
npx playwright test --project=Portal --workers=3
79
+
```
80
+
Example of running only the tests that failed in the previous run:
81
+
```Shell
82
+
npx playwright test --project=Portal --last-failed
73
83
```
74
84
You can open the HTML report with the following command:
0 commit comments