@empiricalrun/test-gen 0.38.5 → 0.38.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/CHANGELOG.md +6 -0
- package/browser-injected-scripts/annotate-elements.js +541 -159
- package/browser-injected-scripts/annotate-elements.spec.ts +2 -2
- package/dist/actions/utils/index.d.ts.map +1 -1
- package/dist/actions/utils/index.js +25 -0
- package/dist/agent/browsing/utils.d.ts.map +1 -1
- package/dist/agent/browsing/utils.js +71 -3
- package/dist/agent/master/run.d.ts.map +1 -1
- package/dist/agent/master/run.js +7 -8
- package/dist/agent/master/with-hints.d.ts.map +1 -1
- package/dist/agent/master/with-hints.js +2 -2
- package/dist/browser-injected-scripts/annotate-elements.js +541 -159
- package/dist/browser-injected-scripts/annotate-elements.spec.ts +2 -2
- package/package.json +1 -1
|
@@ -15,7 +15,7 @@ test("should annotate all links on empirical landing page", async ({
|
|
|
15
15
|
});
|
|
16
16
|
|
|
17
17
|
const annotations = await page.evaluate(() => {
|
|
18
|
-
const { annotations } =
|
|
18
|
+
const { annotations } = annotateClickableElements();
|
|
19
19
|
|
|
20
20
|
return Object.entries(annotations).map(([hint, config]) => ({
|
|
21
21
|
innerText: config.node.innerText,
|
|
@@ -80,7 +80,7 @@ test("should annotate all important items on quizizz page", async ({
|
|
|
80
80
|
});
|
|
81
81
|
|
|
82
82
|
const annotations = await page.evaluate(() => {
|
|
83
|
-
const { annotations } =
|
|
83
|
+
const { annotations } = annotateClickableElements();
|
|
84
84
|
|
|
85
85
|
return Object.entries(annotations).map(([hint, config]) => ({
|
|
86
86
|
hint,
|