@mobilewright/test 0.0.68 → 0.0.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -401,6 +401,9 @@ All options:
|
|
|
401
401
|
| `outputDir` | `string` | Output directory for test artifacts. Default: `test-results` |
|
|
402
402
|
| `reporter` | `'list' \| 'html' \| 'json' \| 'junit' \| Array` | Reporter to use (optional) |
|
|
403
403
|
| `retries` | `number` | Maximum retry count for flaky tests (optional) |
|
|
404
|
+
| `repeatEach` | `number` | Run each test this many times. Default: `1` |
|
|
405
|
+
| `maxFailures` | `number` | Stop the run after this many failures. Default: `0` (no limit) |
|
|
406
|
+
| `failOnFlakyTests` | `boolean` | Fail the run if any test is flagged as flaky. Default: `false` |
|
|
404
407
|
| `workers` | `number \| string` | Number of concurrent workers (optional) |
|
|
405
408
|
| `fullyParallel` | `boolean` | Run all tests in parallel. Default: `false` |
|
|
406
409
|
| `use` | `MobilewrightUseOptions` | Per-action defaults applied to all tests (optional) |
|
|
@@ -571,6 +574,8 @@ npx mobilewright test --grep "sign in" # filter by test name
|
|
|
571
574
|
npx mobilewright test --reporter html # generate HTML report
|
|
572
575
|
npx mobilewright test --retries 2 # retry flaky tests
|
|
573
576
|
npx mobilewright test --workers 4 # parallel workers
|
|
577
|
+
npx mobilewright test --repeat-each 20 # run each test 20 times
|
|
578
|
+
npx mobilewright test -x # stop after the first failure
|
|
574
579
|
npx mobilewright test --list # list tests without running
|
|
575
580
|
```
|
|
576
581
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mobilewright/test",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.69",
|
|
4
4
|
"description": "Test fixtures for Mobilewright",
|
|
5
5
|
"homepage": "https://mobilewright.dev",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
"dist"
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@mobilewright/core": "^0.0.
|
|
33
|
-
"@mobilewright/protocol": "^0.0.
|
|
32
|
+
"@mobilewright/core": "^0.0.69",
|
|
33
|
+
"@mobilewright/protocol": "^0.0.69",
|
|
34
34
|
"@playwright/test": "1.63.0",
|
|
35
35
|
"debug": "^4.4.3",
|
|
36
|
-
"mobilewright": "^0.0.
|
|
36
|
+
"mobilewright": "^0.0.69"
|
|
37
37
|
}
|
|
38
38
|
}
|