@checksum-ai/runtime 1.1.10 → 1.1.13
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/checksum-root/playwright.config.ts +7 -1
- package/checksumlib.js +104 -3
- package/cli.js +31 -58
- package/index.d.ts +19 -0
- package/index.js +130 -248
- package/package.json +5 -5
- package/repl.js +1 -1
- package/scripts/patch.js +36 -325
- package/scripts/playwright_patches/1.41.2.js +310 -0
- package/scripts/playwright_patches/1.46.0.js +305 -0
- package/test-run-monitor.js +12 -13
- package/.DS_Store +0 -0
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { defineConfig, devices } from "@playwright/test";
|
|
2
|
+
import { PuppeteerExtraPlugin } from "puppeteer-extra-plugin";
|
|
2
3
|
|
|
3
4
|
/**
|
|
4
5
|
* See https://playwright.dev/docs/test-configuration.
|
|
5
6
|
*/
|
|
6
|
-
export default defineConfig({
|
|
7
|
+
export default defineConfig<{ playwrightExtra?: PuppeteerExtraPlugin[] }>({
|
|
7
8
|
testDir: "..",
|
|
8
9
|
/* Set test timeout to 10 minutes (relatively long) as Checksum implements its own timeout mechanism */
|
|
9
10
|
timeout: 1000 * 60 * 10,
|
|
@@ -45,6 +46,11 @@ export default defineConfig({
|
|
|
45
46
|
testMatch: /checksum.spec/,
|
|
46
47
|
use: {
|
|
47
48
|
...devices["Desktop Chrome"],
|
|
49
|
+
// To use playwright-extra plugins, import them and add them here
|
|
50
|
+
// See https://github.com/berstend/puppeteer-extra/tree/master/packages/playwright-extra
|
|
51
|
+
// Example:
|
|
52
|
+
// import StealthPlugin from "puppeteer-extra-plugin-stealth";
|
|
53
|
+
// playwrightExtra: [StealthPlugin()],
|
|
48
54
|
},
|
|
49
55
|
},
|
|
50
56
|
],
|