@tracelane/wdio 0.1.0-alpha.5 → 0.1.0-alpha.7
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 +13 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,7 +8,18 @@
|
|
|
8
8
|
[](https://github.com/Cubenest/rrweb-stack/actions/workflows/ci.yml)
|
|
9
9
|
[](https://scorecard.dev/viewer/?uri=github.com/Cubenest/rrweb-stack)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+

|
|
12
|
+
|
|
13
|
+
```sh
|
|
14
|
+
cd your-wdio-project
|
|
15
|
+
npx @tracelane/cli init
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
That's it. [`npx @tracelane/cli init`](https://www.npmjs.com/package/@tracelane/cli) detects your runner, installs `@tracelane/wdio`, edits `wdio.conf.ts` in place, and gitignores the reports directory. Idempotent (re-run is a no-op) and dry-runnable (`--dry-run`).
|
|
19
|
+
|
|
20
|
+
Run your suite. On a failing test you get a single `.html` file at `./tracelane-reports/<spec>--<title>--<cid>-<ts>.html` — open it in any browser, fully offline. Replay the run with [rrweb-player](https://www.rrweb.io), inspect the console + failed-network panels, attach to your bug tracker, archive it forever. No upload, no signup, no cloud.
|
|
21
|
+
|
|
22
|
+
### Or wire it manually
|
|
12
23
|
|
|
13
24
|
```sh
|
|
14
25
|
npm install --save-dev @tracelane/wdio
|
|
@@ -24,7 +35,7 @@ export const config = {
|
|
|
24
35
|
};
|
|
25
36
|
```
|
|
26
37
|
|
|
27
|
-
|
|
38
|
+
Same result — `npx @tracelane/cli init` is just the orchestration that does the lines above for you.
|
|
28
39
|
|
|
29
40
|
## What this is NOT
|
|
30
41
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tracelane/wdio",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.7",
|
|
4
4
|
"description": "WebdriverIO Service that records rrweb sessions and writes a self-contained HTML report on failed tests. The user-facing tracelane integration for WDIO.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|