intellitester 0.3.1 → 0.3.2
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/dist/{chunk-N27W7IMZ.js → chunk-PVP75WOE.js} +5 -2
- package/dist/chunk-PVP75WOE.js.map +1 -0
- package/dist/{chunk-4DYHFFIN.cjs → chunk-VUV4O4H6.cjs} +5 -2
- package/dist/chunk-VUV4O4H6.cjs.map +1 -0
- package/dist/cli/index.cjs +31 -31
- package/dist/cli/index.cjs.map +1 -1
- package/dist/cli/index.js +13 -13
- package/dist/cli/index.js.map +1 -1
- package/dist/index.cjs +11 -11
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-4DYHFFIN.cjs.map +0 -1
- package/dist/chunk-N27W7IMZ.js.map +0 -1
|
@@ -2999,6 +2999,7 @@ var runWebTest = async (test, options = {}) => {
|
|
|
2999
2999
|
const screenshotName = sizesToTest.length > 1 && ssAction.name ? ssAction.name.replace(/\.png$/, `-${size}.png`) : ssAction.name;
|
|
3000
3000
|
const screenshotPath = await runScreenshot(page, screenshotName, screenshotDir, index, browserName);
|
|
3001
3001
|
sizeResults.push({ action, status: "passed", screenshotPath });
|
|
3002
|
+
options.onStepComplete?.(sizeResults[sizeResults.length - 1], index, test.steps.length);
|
|
3002
3003
|
const trackedPayload = buildTrackPayload(action, index, { screenshotPath });
|
|
3003
3004
|
if (trackedPayload) {
|
|
3004
3005
|
await track(trackedPayload);
|
|
@@ -3016,9 +3017,11 @@ var runWebTest = async (test, options = {}) => {
|
|
|
3016
3017
|
healing: options.healing
|
|
3017
3018
|
});
|
|
3018
3019
|
sizeResults.push({ action, status: "passed", logOutput: actionExtras.logOutput });
|
|
3020
|
+
options.onStepComplete?.(sizeResults[sizeResults.length - 1], index, test.steps.length);
|
|
3019
3021
|
} catch (error) {
|
|
3020
3022
|
const message = error instanceof Error ? error.message : String(error);
|
|
3021
3023
|
sizeResults.push({ action, status: "failed", error: message });
|
|
3024
|
+
options.onStepComplete?.(sizeResults[sizeResults.length - 1], index, test.steps.length);
|
|
3022
3025
|
_sizeTestFailed = true;
|
|
3023
3026
|
overallFailed = true;
|
|
3024
3027
|
break;
|
|
@@ -4326,5 +4329,5 @@ Collected ${serverResources.length} server-tracked resources`);
|
|
|
4326
4329
|
}
|
|
4327
4330
|
|
|
4328
4331
|
export { createAIProvider, createTestContext, generateFillerText, generateRandomEmail, generateRandomPhone, generateRandomPhoto, generateRandomUsername, getBrowserLaunchOptions, initFileTracking, interpolateVariables, mergeFileTrackedResources, parseViewportSize, runWebTest, runWorkflow, runWorkflowWithContext, setupAppwriteTracking, startTrackingServer, webServerManager };
|
|
4329
|
-
//# sourceMappingURL=chunk-
|
|
4330
|
-
//# sourceMappingURL=chunk-
|
|
4332
|
+
//# sourceMappingURL=chunk-PVP75WOE.js.map
|
|
4333
|
+
//# sourceMappingURL=chunk-PVP75WOE.js.map
|