@test-station/adapter-playwright 0.1.0 → 0.1.6
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 +29 -0
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# @test-station/adapter-playwright
|
|
2
|
+
|
|
3
|
+
Built-in Playwright adapter for Test Station.
|
|
4
|
+
|
|
5
|
+
Most consumers should install `@test-station/cli` or `@test-station/core` instead of this package directly. The default core bundle already includes the Playwright adapter. Install this package only when you are composing adapters yourself around `@test-station/core`.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
npm install --save-dev @test-station/adapter-playwright
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## What It Does
|
|
14
|
+
|
|
15
|
+
- runs Playwright with JSON reporter output
|
|
16
|
+
- normalizes browser suite and test results into the shared report model
|
|
17
|
+
- writes raw Playwright JSON artifacts under `raw/`
|
|
18
|
+
|
|
19
|
+
Playwright browsers must already be installed in CI or on the machine executing the suite.
|
|
20
|
+
|
|
21
|
+
## Direct Use
|
|
22
|
+
|
|
23
|
+
```js
|
|
24
|
+
import { createPlaywrightAdapter } from '@test-station/adapter-playwright';
|
|
25
|
+
|
|
26
|
+
const adapter = createPlaywrightAdapter();
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Use adapter id `playwright` in `test-station.config.mjs`.
|