shiplightai 0.1.97 → 0.1.99
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/CHANGELOG.md +26 -0
- package/README.md +35 -0
- package/dist/cjs/debugger-pw.cjs +42 -42
- package/dist/cjs/fixture.cjs +79 -78
- package/dist/cjs/index.cjs +75 -75
- package/dist/cjs/reporter.cjs +49 -42
- package/dist/cli.js +150 -144
- package/dist/debugger-pw.js +44 -44
- package/dist/fixture.d.ts +9 -2
- package/dist/fixture.js +79 -78
- package/dist/index.js +75 -75
- package/dist/reporter.js +49 -42
- package/dist/spec/yaml.md +3 -2
- package/dist/static-embedded/assets/{index-DVb6b-JE.js → index-BYe4hJ2h.js} +3 -2
- package/dist/static-embedded/assets/{index-eFclB13U.js → index-DaNac8cL.js} +2 -2
- package/dist/static-embedded/index.html +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,32 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `shiplightai` are documented here. This file is generated automatically at release time from the commits that touch the published package and its bundled SDK.
|
|
4
4
|
|
|
5
|
+
## 0.1.99 (2026-08-10)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
- **transpiler:** emit YAML tags as Playwright tag option (445258c)
|
|
10
|
+
- **cli:** expose extension action popup fixture (5f025a9)
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
- **cli:** pass launch options to extension contexts (89642fb)
|
|
15
|
+
|
|
16
|
+
## 0.1.98 (2026-08-06)
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
- **cli:** report action-entity cache effect over executed statements (239782d)
|
|
21
|
+
- **cli:** add report --trigger and store enum trigger values (a2ee3cc)
|
|
22
|
+
|
|
23
|
+
### Bug Fixes
|
|
24
|
+
|
|
25
|
+
- **cli:** suppress the swallowed-folder warning when a folder survives (803e137)
|
|
26
|
+
|
|
27
|
+
### Other Changes
|
|
28
|
+
|
|
29
|
+
- **cli:** pin the single-dash missing-value rule for --vars (b2d98ba)
|
|
30
|
+
|
|
5
31
|
## 0.1.97 (2026-08-05)
|
|
6
32
|
|
|
7
33
|
### Bug Fixes
|
package/README.md
CHANGED
|
@@ -60,6 +60,41 @@ export default defineConfig({
|
|
|
60
60
|
|
|
61
61
|
`shiplightConfig()` returns a partial Playwright config that wires in YAML transpilation, auto-discovered `.env` files, and the HTML reporter. Spread it into your own `defineConfig` and override whatever you need.
|
|
62
62
|
|
|
63
|
+
### Chrome extensions
|
|
64
|
+
|
|
65
|
+
Point `extensionDir` at an unpacked extension. Use Playwright's standard
|
|
66
|
+
`launchOptions.args` for test-only Chromium switches, including capture-source
|
|
67
|
+
selection flags:
|
|
68
|
+
|
|
69
|
+
```ts
|
|
70
|
+
export default defineConfig({
|
|
71
|
+
...shiplightConfig(),
|
|
72
|
+
use: {
|
|
73
|
+
extensionDir: './dist',
|
|
74
|
+
headless: false,
|
|
75
|
+
launchOptions: {
|
|
76
|
+
args: ['--auto-select-screen-capture-source'],
|
|
77
|
+
},
|
|
78
|
+
},
|
|
79
|
+
});
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
Playwright does not include a Chrome action popup in `context.pages()`. Import
|
|
83
|
+
Shiplight's `test` fixture and request `extensionActionPopup` to open the real
|
|
84
|
+
toolbar popup and receive it as a standard Playwright `Page`:
|
|
85
|
+
|
|
86
|
+
```ts
|
|
87
|
+
import { test, expect } from 'shiplightai/fixture';
|
|
88
|
+
|
|
89
|
+
test('starts from the real extension popup', async ({ extensionActionPopup }) => {
|
|
90
|
+
await extensionActionPopup.getByRole('button', { name: 'Start recording' }).click();
|
|
91
|
+
});
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
This requires Chrome 127 or newer because it uses `chrome.action.openPopup()`.
|
|
95
|
+
The extension/profile/debugging transport switches remain fixture-owned and
|
|
96
|
+
cannot be overridden through `launchOptions.args`.
|
|
97
|
+
|
|
63
98
|
For the YAML statement language, authentication, variables, templates, and custom functions: **[docs.shiplight.ai/local](https://docs.shiplight.ai/local/yaml-tests)**.
|
|
64
99
|
|
|
65
100
|
## Environment variables
|