@enhance-eng/sdk 0.1.0-dev.sha-d9190c779d58 → 0.1.158
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/README.md +79 -11
- package/dist/browser/kernel.iife.js +4598 -3208
- package/dist/capture-client.client--zU5zvd3.d.mts +78 -0
- package/dist/capture-client.client-YvUy2nGh.mjs +525 -0
- package/dist/capture-context.lib-BivWcwWc.mjs +40 -0
- package/dist/client.d.mts +2 -2
- package/dist/client.mjs +1 -1
- package/dist/{environment.config-DW6wFq6z.mjs → environment.config-B2WQJWaS.mjs} +3 -3
- package/dist/{environment.config-CA-3pMfN.d.mts → environment.config-Dx5WHap5.d.mts} +1 -1
- package/dist/index-7uzK6oto.d.mts +656 -0
- package/dist/index.d.mts +9 -5
- package/dist/index.mjs +3 -3
- package/dist/{package-CLHe5Seu.mjs → package-VWmCi21a.mjs} +1 -1
- package/dist/playwright/index.d.mts +7 -1
- package/dist/playwright/index.mjs +614 -6174
- package/dist/playwright/reporter.d.mts +4 -4
- package/dist/playwright/reporter.mjs +97 -26
- package/dist/stall-watch.lib-C6VmIsz-.mjs +8474 -0
- package/package.json +13 -6
- package/dist/capture-client.client-BDphetFj.mjs +0 -226
- package/dist/capture-client.client-DsMSGK3h.d.mts +0 -34
- package/dist/capture-files.lib-BA_KBz9W.mjs +0 -406
- package/dist/capture-files.lib-BpwdV8DQ.d.mts +0 -266
- package/dist/environment.config-D898JKZB.mjs +0 -10
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import "../
|
|
1
|
+
import "../index-7uzK6oto.mjs";
|
|
2
2
|
import { Page } from "@playwright/test";
|
|
3
3
|
//#region src/playwright/capture-page.lib.d.ts
|
|
4
4
|
interface CaptureStepOptions {
|
|
5
|
+
readonly page?: string;
|
|
5
6
|
readonly journey: string;
|
|
6
7
|
readonly step: string;
|
|
7
8
|
readonly order?: number;
|
|
@@ -14,6 +15,11 @@ interface CaptureStepOptions {
|
|
|
14
15
|
//#endregion
|
|
15
16
|
//#region src/playwright/capture-step.lib.d.ts
|
|
16
17
|
declare const enhance: {
|
|
18
|
+
/**
|
|
19
|
+
* Captures the page as it is now. Capturing the same step twice in one test keeps both; the run
|
|
20
|
+
* numbers the second. A capture that fails its own format check, or cannot be saved on this
|
|
21
|
+
* machine, is left out and named in the run's output, and the test goes on.
|
|
22
|
+
*/
|
|
17
23
|
capture: (page: Page, options: CaptureStepOptions) => Promise<void>;
|
|
18
24
|
};
|
|
19
25
|
//#endregion
|