@empiricalrun/playwright-utils 0.39.0 → 0.39.1
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 +9 -0
- package/dist/overlay-tests/click.spec.js +2 -1
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +2 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @empiricalrun/playwright-utils
|
|
2
2
|
|
|
3
|
+
## 0.39.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 36fc057: chore: rename telemetry fields for consistency
|
|
8
|
+
- Updated dependencies [92254ba]
|
|
9
|
+
- @empiricalrun/r2-uploader@0.9.1
|
|
10
|
+
- @empiricalrun/test-gen@0.79.3
|
|
11
|
+
|
|
3
12
|
## 0.39.0
|
|
4
13
|
|
|
5
14
|
### Minor Changes
|
|
@@ -45,7 +45,8 @@ function getCacheDataWithTextContent({ textContent }) {
|
|
|
45
45
|
const finalZIndex = await targetButton.evaluate((el) => window.getComputedStyle(el).getPropertyValue("z-index"));
|
|
46
46
|
(0, fixtures_1.expect)(finalZIndex).toBe(initialZIndex);
|
|
47
47
|
});
|
|
48
|
-
|
|
48
|
+
// Skipped since it's flaky
|
|
49
|
+
fixtures_1.test.skip("should dismiss two-step overlay for click", async ({ page, server, }) => {
|
|
49
50
|
await page.goto(`${server.baseURL}/tos.html`);
|
|
50
51
|
// Assert that button and overlay load
|
|
51
52
|
await (0, fixtures_1.expect)(page.getByRole("button", { name: "Target" })).toBeVisible();
|
package/dist/telemetry.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"telemetry.d.ts","sourceRoot":"","sources":["../src/telemetry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AAKtE,wBAAsB,UAAU,CAAC,KAAK,EAA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@@ -36,7 +36,8 @@ function trackOverlayDismissed(opts) {
|
|
|
36
36
|
original_locator: opts.original ?? "",
|
|
37
37
|
cache_hit: opts.cache,
|
|
38
38
|
success: opts.success,
|
|
39
|
-
project_name: process.env.PROJECT_NAME ?? "",
|
|
39
|
+
project_name: process.env.PROJECT_NAME ?? "unknown",
|
|
40
|
+
repo_name: process.env.GIT_REPO_NAME ?? "unknown",
|
|
40
41
|
test_run_id: process.env.TEST_RUN_GITHUB_ACTION_ID ?? "",
|
|
41
42
|
test_name: opts.testName ?? "",
|
|
42
43
|
tokens_input: opts.tokens?.input ?? 0,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@empiricalrun/playwright-utils",
|
|
3
|
-
"version": "0.39.
|
|
3
|
+
"version": "0.39.1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"puppeteer-extra-plugin-recaptcha": "^3.6.8",
|
|
44
44
|
"rimraf": "^6.0.1",
|
|
45
45
|
"@empiricalrun/llm": "^0.25.2",
|
|
46
|
-
"@empiricalrun/r2-uploader": "^0.9.
|
|
47
|
-
"@empiricalrun/test-gen": "^0.79.
|
|
46
|
+
"@empiricalrun/r2-uploader": "^0.9.1",
|
|
47
|
+
"@empiricalrun/test-gen": "^0.79.3"
|
|
48
48
|
},
|
|
49
49
|
"scripts": {
|
|
50
50
|
"dev": "tsc --build --watch",
|