@lvce-editor/test-with-playwright 15.1.0 → 16.0.0
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 +15 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -12,7 +12,21 @@
|
|
|
12
12
|
|
|
13
13
|
```js
|
|
14
14
|
test('sample.hello-world', async () => {
|
|
15
|
-
const sideBar = Locator('
|
|
15
|
+
const sideBar = Locator('.SideBar')
|
|
16
16
|
await expect(sideBar).toBeVisible()
|
|
17
17
|
})
|
|
18
18
|
```
|
|
19
|
+
|
|
20
|
+
## CLI Flags
|
|
21
|
+
|
|
22
|
+
- `--only-extension`: path to the extension under test
|
|
23
|
+
- `--test-path`: path to the test root
|
|
24
|
+
- `--server-path`: explicit server entry point
|
|
25
|
+
- `--filter`: run only matching tests
|
|
26
|
+
- `--headless`: run Playwright in headless mode
|
|
27
|
+
- `--trace-focus`: add `traceFocus=true` to test URLs
|
|
28
|
+
|
|
29
|
+
## Environment Variables
|
|
30
|
+
|
|
31
|
+
- `ONLY_EXTENSION`
|
|
32
|
+
- `TEST_PATH`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lvce-editor/test-with-playwright",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "16.0.0",
|
|
4
4
|
"description": "CLI tool for running Playwright tests",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"main": "dist/main.js",
|
|
13
13
|
"bin": "bin/test-with-playwright.js",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@lvce-editor/test-with-playwright-worker": "
|
|
16
|
-
"@lvce-editor/test-worker": "^
|
|
15
|
+
"@lvce-editor/test-with-playwright-worker": "16.0.0",
|
|
16
|
+
"@lvce-editor/test-worker": "^14.0.0"
|
|
17
17
|
},
|
|
18
18
|
"engines": {
|
|
19
19
|
"node": ">=24"
|