@checksum-ai/runtime 1.2.1 → 1.2.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 CHANGED
@@ -1 +1 @@
1
- CHECKSUM_RUNTIME_BUILD_TIME=2025-08-04T11:30:00.698Z
1
+ CHECKSUM_RUNTIME_BUILD_TIME=2025-08-16T18:20:56.376Z
package/README.md CHANGED
@@ -131,8 +131,11 @@ Alongside standard test run configurations found in `playwright.config.ts`, use
131
131
  /**
132
132
  * Whether to use Checksum AI in order to
133
133
  * recover from a failed action or assertion
134
+ * @actions - enable recovery from checksumAI steps
135
+ * @assertions - enable recovery from assertion steps
136
+ * @visualComparison - enable visual comparison recovery when using toHaveScreenshot assertions
134
137
  */
135
- useChecksumAI: { actions: true, assertions: false },
138
+ useChecksumAI: { actions: true, assertions: false, visualComparison: false },
136
139
  /**
137
140
  * Whether to use recorded network responses when running your tests
138
141
  */
@@ -2,7 +2,7 @@ import { init } from "@checksum-ai/runtime";
2
2
  const { test, defineChecksumTest, login, expect, checksumAI } = init();
3
3
 
4
4
  test.describe("Example test", () => {
5
- test.beforeEach(async (page) => {
5
+ test.beforeEach(async ({ page }) => {
6
6
  await login(page);
7
7
  });
8
8
 
@@ -4,5 +4,6 @@
4
4
  "paths": {
5
5
  "@checksum/*": ["./*"]
6
6
  }
7
- }
8
- }
7
+ },
8
+ "include": ["./**/*", ".chk/**/*"]
9
+ }