@lowdefy/e2e-utils 4.7.2 → 5.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/dist/core/validation.js +1 -1
- package/package.json +5 -5
package/dist/core/validation.js
CHANGED
|
@@ -18,7 +18,7 @@ async function getValidation(page, blockId) {
|
|
|
18
18
|
const lowdefy = window.lowdefy;
|
|
19
19
|
const pageId = lowdefy?.pageId;
|
|
20
20
|
const context = lowdefy?.contexts?.[`page:${pageId}`];
|
|
21
|
-
const block = context?._internal?.
|
|
21
|
+
const block = context?._internal?.RootSlots?.map?.[id];
|
|
22
22
|
return block?.validationEval?.output;
|
|
23
23
|
}, blockId);
|
|
24
24
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lowdefy/e2e-utils",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Lowdefy E2E Testing Utilities for Playwright",
|
|
6
6
|
"homepage": "https://lowdefy.com",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"dist/*"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@lowdefy/helpers": "
|
|
39
|
+
"@lowdefy/helpers": "5.0.0",
|
|
40
40
|
"js-yaml": "4.1.0",
|
|
41
41
|
"prompts": "2.4.2"
|
|
42
42
|
},
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"@playwright/test": "1.50.1"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@swc/cli": "0.
|
|
48
|
-
"@swc/core": "1.
|
|
47
|
+
"@swc/cli": "0.8.0",
|
|
48
|
+
"@swc/core": "1.15.18",
|
|
49
49
|
"copyfiles": "2.4.1",
|
|
50
50
|
"jest": "28.1.3"
|
|
51
51
|
},
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"access": "public"
|
|
54
54
|
},
|
|
55
55
|
"scripts": {
|
|
56
|
-
"build": "swc src --out-dir dist --config-file ../../../.swcrc --
|
|
56
|
+
"build": "swc src --out-dir dist --config-file ../../../.swcrc --cli-config-file ../../../.swc-cli.json && pnpm copyfiles",
|
|
57
57
|
"clean": "rm -rf dist",
|
|
58
58
|
"copyfiles": "copyfiles -u 1 \"./src/init/templates/*\" dist",
|
|
59
59
|
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js"
|