@testmuai/playwright-bindings 0.1.21 → 0.1.22-beta.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.
@@ -0,0 +1,27 @@
1
+ import type { Page } from 'playwright';
2
+ /**
3
+ * Recompute a recorded derivation over a freshly re-extracted raw value.
4
+ *
5
+ * Recorded tests capture a derived extraction as a RAW observation plus a
6
+ * `codeJs` derivation. At replay time the raw value is re-extracted and the
7
+ * derivation is RECOMPUTED here — never asserted against a stale recorded
8
+ * literal. The raw value is bound as a `const value = <json>;` constant (the
9
+ * same injection performed at record time) and the recorded body computes
10
+ * FROM it.
11
+ *
12
+ * Returns the computed operand as a string (JS booleans coerce to
13
+ * 'true'/'false'). Fails loud on an execution error or a null result — a
14
+ * derivation must produce an operand; comparing an underived value is never
15
+ * correct.
16
+ */
17
+ export declare function derive(page: Page, codeJs: string, value: string): Promise<string>;
18
+ /**
19
+ * Compute a condition-leg arithmetic expression over resolved variables.
20
+ *
21
+ * Resolves `{{var}}` tokens into the expression, then evaluates the
22
+ * self-contained arithmetic (no `value` binding on this leg). Returns the
23
+ * computed operand as a string. Throws when a `{{var}}` token has no entry in
24
+ * `variables`, and fails loud on an execution error or a null result.
25
+ */
26
+ export declare function conditionCompute(page: Page, expression: string, variables: Record<string, unknown>): Promise<string>;
27
+ //# sourceMappingURL=derive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"derive.d.ts","sourceRoot":"","sources":["../../src/helpers/derive.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AA8BvC;;;;;;;;;;;;;;GAcG;AACH,wBAAsB,MAAM,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAiBvF;AAED;;;;;;;GAOG;AACH,wBAAsB,gBAAgB,CACpC,IAAI,EAAE,IAAI,EACV,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GACjC,OAAO,CAAC,MAAM,CAAC,CAsBjB"}
@@ -0,0 +1,87 @@
1
+ import { log, preview, repr } from '../log.js';
2
+ // Matches `{{ var }}` tokens, trimming whitespace around the captured name.
3
+ const VAR_TOKEN = /\{\{\s*([^}]+?)\s*\}\}/g;
4
+ /**
5
+ * Booleans render as lowercase 'true'/'false'; every other value is
6
+ * stringified. Keeps a recomputed operand comparable with the recorded
7
+ * comparison convention.
8
+ */
9
+ function coerce(value) {
10
+ if (typeof value === 'boolean')
11
+ return value ? 'true' : 'false';
12
+ return String(value);
13
+ }
14
+ /**
15
+ * Wrap a JS function body in a self-invoking arrow IIFE for page.evaluate.
16
+ *
17
+ * page.evaluate(string) in the Node client evaluates the string as an
18
+ * expression and returns its value verbatim — unlike the Python client, it
19
+ * does NOT auto-invoke a string that evaluates to a function. A bare
20
+ * `() => { ... }` string therefore evaluates to an (unserializable) function
21
+ * object and yields undefined. Invoking the arrow inline makes the expression
22
+ * evaluate to the body's return value.
23
+ */
24
+ function wrapBody(body) {
25
+ return `(() => { ${body}\n })()`;
26
+ }
27
+ /**
28
+ * Recompute a recorded derivation over a freshly re-extracted raw value.
29
+ *
30
+ * Recorded tests capture a derived extraction as a RAW observation plus a
31
+ * `codeJs` derivation. At replay time the raw value is re-extracted and the
32
+ * derivation is RECOMPUTED here — never asserted against a stale recorded
33
+ * literal. The raw value is bound as a `const value = <json>;` constant (the
34
+ * same injection performed at record time) and the recorded body computes
35
+ * FROM it.
36
+ *
37
+ * Returns the computed operand as a string (JS booleans coerce to
38
+ * 'true'/'false'). Fails loud on an execution error or a null result — a
39
+ * derivation must produce an operand; comparing an underived value is never
40
+ * correct.
41
+ */
42
+ export async function derive(page, codeJs, value) {
43
+ log.helper(`[derive] value=${repr(value)} code=${preview(codeJs, 80)}`);
44
+ const wrapped = wrapBody(`const value = ${JSON.stringify(value)};\n${codeJs}`);
45
+ let result;
46
+ try {
47
+ result = await page.evaluate(wrapped);
48
+ }
49
+ catch (e) {
50
+ throw new Error(`derive: code_js execution failed: ${e instanceof Error ? e.message : String(e)}`);
51
+ }
52
+ if (result === null || result === undefined) {
53
+ throw new Error('derive: code_js returned null/undefined — a derivation must produce the computed operand');
54
+ }
55
+ return coerce(result);
56
+ }
57
+ /**
58
+ * Compute a condition-leg arithmetic expression over resolved variables.
59
+ *
60
+ * Resolves `{{var}}` tokens into the expression, then evaluates the
61
+ * self-contained arithmetic (no `value` binding on this leg). Returns the
62
+ * computed operand as a string. Throws when a `{{var}}` token has no entry in
63
+ * `variables`, and fails loud on an execution error or a null result.
64
+ */
65
+ export async function conditionCompute(page, expression, variables) {
66
+ const resolved = expression.replace(VAR_TOKEN, (_match, rawName) => {
67
+ const name = rawName.trim();
68
+ if (!Object.prototype.hasOwnProperty.call(variables, name)) {
69
+ throw new Error(`conditionCompute: variable '${name}' not found in variables`);
70
+ }
71
+ return String(variables[name]);
72
+ });
73
+ log.helper(`[condition_compute] ${repr(expression)} -> ${repr(resolved)}`);
74
+ const wrapped = wrapBody(`return (${resolved});`);
75
+ let result;
76
+ try {
77
+ result = await page.evaluate(wrapped);
78
+ }
79
+ catch (e) {
80
+ throw new Error(`conditionCompute: expression evaluation failed: ${e instanceof Error ? e.message : String(e)}`);
81
+ }
82
+ if (result === null || result === undefined) {
83
+ throw new Error('conditionCompute: expression evaluated to null/undefined');
84
+ }
85
+ return coerce(result);
86
+ }
87
+ //# sourceMappingURL=derive.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"derive.js","sourceRoot":"","sources":["../../src/helpers/derive.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAE/C,4EAA4E;AAC5E,MAAM,SAAS,GAAG,yBAAyB,CAAC;AAE5C;;;;GAIG;AACH,SAAS,MAAM,CAAC,KAAc;IAC5B,IAAI,OAAO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MAAM,EAAE,OAAe,EAAE,EAAE;QACzE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,EAAE,CAAC;QAC5B,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,EAAE,CAAC;YAC3D,MAAM,IAAI,KAAK,CAAC,+BAA+B,IAAI,0BAA0B,CAAC,CAAC;QACjF,CAAC;QACD,OAAO,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC;IACjC,CAAC,CAAC,CAAC;IACH,GAAG,CAAC,MAAM,CAAC,uBAAuB,IAAI,CAAC,UAAU,CAAC,OAAO,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;IAC3E,MAAM,OAAO,GAAG,QAAQ,CAAC,WAAW,QAAQ,IAAI,CAAC,CAAC;IAClD,IAAI,MAAe,CAAC;IACpB,IAAI,CAAC;QACH,MAAM,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;IACxC,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACX,MAAM,IAAI,KAAK,CACb,mDAAmD,CAAC,YAAY,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAChG,CAAC;IACJ,CAAC;IACD,IAAI,MAAM,KAAK,IAAI,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;QAC5C,MAAM,IAAI,KAAK,CAAC,0DAA0D,CAAC,CAAC;IAC9E,CAAC;IACD,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC;AACxB,CAAC"}
package/dist/index.d.ts CHANGED
@@ -9,6 +9,7 @@ import { executeApi } from './helpers/executeApi.js';
9
9
  import { executeDb } from './helpers/executeDb.js';
10
10
  import { visionQuery, textualQuery, visionWait, visionAction, getVisionCoordinates } from './helpers/vision.js';
11
11
  import { textualAnalyzer } from './helpers/textualAnalyzer/index.js';
12
+ import { derive, conditionCompute } from './helpers/derive.js';
12
13
  import { verifyAssertion, evaluateBranch } from './helpers/assertion.js';
13
14
  import { evaluateNetworkAssertion, networkQuery } from './helpers/network.js';
14
15
  import { evaluateMath } from './helpers/math.js';
@@ -34,6 +35,8 @@ declare const testmu: {
34
35
  visionAction: typeof visionAction;
35
36
  getVisionCoordinates: typeof getVisionCoordinates;
36
37
  textualAnalyzer: typeof textualAnalyzer;
38
+ derive: typeof derive;
39
+ conditionCompute: typeof conditionCompute;
37
40
  verifyAssertion: typeof verifyAssertion;
38
41
  evaluateBranch: typeof evaluateBranch;
39
42
  evaluateNetworkAssertion: typeof evaluateNetworkAssertion;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAEvE,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EACL,WAAW,EAAE,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,oBAAoB,EAC1E,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACzE,OAAO,EAAE,wBAAwB,EAAE,YAAY,EAAE,MAAM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E,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACvE,YAAY,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,YAAY,EAAE,aAAa,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AACvF,YAAY,EAAE,WAAW,EAAE,WAAW,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAC5G,YAAY,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,YAAY,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AACjF,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,YAAY,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAChE,YAAY,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC"}
package/dist/index.js CHANGED
@@ -9,6 +9,7 @@ import { executeApi } from './helpers/executeApi.js';
9
9
  import { executeDb } from './helpers/executeDb.js';
10
10
  import { visionQuery, textualQuery, visionWait, visionAction, getVisionCoordinates, } from './helpers/vision.js';
11
11
  import { textualAnalyzer } from './helpers/textualAnalyzer/index.js';
12
+ import { derive, conditionCompute } from './helpers/derive.js';
12
13
  import { verifyAssertion, evaluateBranch } from './helpers/assertion.js';
13
14
  import { evaluateNetworkAssertion, networkQuery } from './helpers/network.js';
14
15
  import { evaluateMath } from './helpers/math.js';
@@ -25,6 +26,7 @@ const testmu = {
25
26
  executeJs, executeApi, executeDb,
26
27
  visionQuery, textualQuery, visionWait, visionAction, getVisionCoordinates,
27
28
  textualAnalyzer,
29
+ derive, conditionCompute,
28
30
  verifyAssertion, evaluateBranch,
29
31
  evaluateNetworkAssertion, networkQuery,
30
32
  evaluateMath, smartuiSnapshot,
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot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f,MAAM,EAAE,gBAAgB;IACxB,eAAe,EAAE,cAAc;IAC/B,wBAAwB,EAAE,YAAY;IACtC,YAAY,EAAE,eAAe;IAC7B,SAAS,EAAE,SAAS;IACpB,mBAAmB,EAAE,cAAc;IACnC,aAAa;IACb,oBAAoB,EAAE,oBAAoB;IAC1C,oBAAoB,EAAE,oBAAoB;IAC1C,cAAc,EAAE,cAAc,EAAE,cAAc,EAAE,sBAAsB;IACtE,wBAAwB;IACxB,aAAa;CACd,CAAC;AAEF,eAAe,MAAM,CAAC;AACtB,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,CAAC;AAOxE,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAMvE,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@testmuai/playwright-bindings",
3
- "version": "0.1.21",
3
+ "version": "0.1.22-beta.1",
4
4
  "description": "Testmu binding for Playwright — thin runtime for LambdaTest exports",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",