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 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