@checksum-ai/runtime 4.16.2-beta.1 → 4.16.3
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/.env +1 -1
- package/README.md +8 -9
- package/checksum-root/checksum.config.ts +2 -2
- package/checksumlib.js +1 -1
- package/cli.js +115 -122
- package/index.d.ts +0 -2
- package/package.json +1 -1
- package/scripts/patch.js +1 -11
- package/scripts/playwright_patches/1.41.2.js +16 -31
- package/scripts/playwright_patches/1.46.0.js +6 -59
- package/scripts/playwright_patches/1.51.0.js +6 -70
- package/scripts/playwright_patches/1.52.0.js +5 -53
- package/scripts/playwright_patches/1.56.1.js +5 -47
- package/scripts/playwright_patches/1.59.0.js +5 -47
- package/test-run-monitor.js +1 -1
package/.env
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
CHECKSUM_RUNTIME_BUILD_TIME=2026-08-
|
|
1
|
+
CHECKSUM_RUNTIME_BUILD_TIME=2026-08-18T09:20:41.294Z
|
package/README.md
CHANGED
|
@@ -122,12 +122,12 @@ Alongside standard test run configurations found in `playwright.config.ts`, use
|
|
|
122
122
|
|
|
123
123
|
options: {
|
|
124
124
|
/**
|
|
125
|
-
*
|
|
125
|
+
* Use Checksum Smart Selector to
|
|
126
126
|
* recover from failing to locate an element for an action
|
|
127
127
|
*/
|
|
128
128
|
useChecksumSelectors: true,
|
|
129
129
|
/**
|
|
130
|
-
*
|
|
130
|
+
* Use Checksum AI to
|
|
131
131
|
* recover from a failed action or assertion
|
|
132
132
|
* @actions - enable recovery from checksumAI steps
|
|
133
133
|
* @assertions - enable recovery from assertion steps
|
|
@@ -216,8 +216,8 @@ function init(base: ChecksumTestType<PlaywrightTestArgs>): {
|
|
|
216
216
|
*/
|
|
217
217
|
expect: ChecksumExpect;
|
|
218
218
|
/**
|
|
219
|
-
*
|
|
220
|
-
* Checksum
|
|
219
|
+
* Wrap each test action with this method to let
|
|
220
|
+
* Checksum recover from failure using our test recover AI agent
|
|
221
221
|
*/
|
|
222
222
|
checksumAI: (description: string, testFunction: Function) => Promise<any>;
|
|
223
223
|
/**
|
|
@@ -258,13 +258,13 @@ interface ChecksumPage extends Page {
|
|
|
258
258
|
*/
|
|
259
259
|
checksumAI: (thought: string, body?: () => any) => Promise<any> | ChecksumPage;
|
|
260
260
|
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
261
|
+
/**
|
|
262
|
+
* Resolves file-upload asset names against the configured assets folder.
|
|
263
|
+
*/
|
|
264
264
|
resolveAssetsFolder: (assets: string[]) => string[];
|
|
265
265
|
|
|
266
266
|
/**
|
|
267
|
-
* For multi-tab
|
|
267
|
+
* For multi-tab flows: returns the ChecksumPage by order of appearance, where 0 is the initially opened tab.
|
|
268
268
|
*/
|
|
269
269
|
getPage(index: number): Promise<ChecksumPage>;
|
|
270
270
|
|
|
@@ -362,7 +362,6 @@ interface ChecksumLocator extends Locator {
|
|
|
362
362
|
* target?: (base) => base.locator("<relative selector to target element>")
|
|
363
363
|
* }).first().click();
|
|
364
364
|
* ```
|
|
365
|
-
* @param selection
|
|
366
365
|
* @returns Locator to the common parent(s) or the target element(s) if specified.
|
|
367
366
|
*/
|
|
368
367
|
compoundSelection(selection: {
|
|
@@ -50,11 +50,11 @@ export default getChecksumConfig({
|
|
|
50
50
|
|
|
51
51
|
options: {
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* Recover from failing to locate an element for an action (see README)
|
|
54
54
|
*/
|
|
55
55
|
useChecksumSelectors: true,
|
|
56
56
|
/**
|
|
57
|
-
*
|
|
57
|
+
* Recover from a failed action or assertion (see README)
|
|
58
58
|
*/
|
|
59
59
|
useChecksumAI: { actions: true, assertions: false },
|
|
60
60
|
/**
|