@auxcode/auxta 1.3.51-beta.3 → 1.3.51-beta.5
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/build/cjs/auxta/utilities/screenshot.helper.js +1 -0
- package/build/cjs/macros/helpers/code.helper.js +2 -2
- package/build/esm/auxta/utilities/screenshot.helper.js +1 -0
- package/build/esm/macros/helpers/code.helper.js +2 -2
- package/build/tsconfig-cjs.tsbuildinfo +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -38,8 +38,8 @@ class FunctionHelper extends extend_default_page_1.ExtendDefaultPage {
|
|
|
38
38
|
const screenshotBuffer = yield (0, screenshot_helper_1.captureScreenshotPage)(page);
|
|
39
39
|
if (screenshotBuffer) {
|
|
40
40
|
const screenshot = screenshotBuffer.toString('base64');
|
|
41
|
-
|
|
42
|
-
log_service_1.default.push('Then', `compare screenshots with key ${key}`, status_of_step_1.StatusOfStep.PASSED,
|
|
41
|
+
yield (0, report_service_1.compareScreenshots)(key, screenshot);
|
|
42
|
+
log_service_1.default.push('Then', `compare screenshots with key ${key}`, status_of_step_1.StatusOfStep.PASSED, screenshot, key);
|
|
43
43
|
}
|
|
44
44
|
});
|
|
45
45
|
}
|
|
@@ -32,8 +32,8 @@ export class FunctionHelper extends ExtendDefaultPage {
|
|
|
32
32
|
const screenshotBuffer = yield captureScreenshotPage(page);
|
|
33
33
|
if (screenshotBuffer) {
|
|
34
34
|
const screenshot = screenshotBuffer.toString('base64');
|
|
35
|
-
|
|
36
|
-
log.push('Then', `compare screenshots with key ${key}`, StatusOfStep.PASSED,
|
|
35
|
+
yield compareScreenshots(key, screenshot);
|
|
36
|
+
log.push('Then', `compare screenshots with key ${key}`, StatusOfStep.PASSED, screenshot, key);
|
|
37
37
|
}
|
|
38
38
|
});
|
|
39
39
|
}
|