MCPcopy
hub / github.com/codeceptjs/CodeceptJS / scheduleScreenshot

Function scheduleScreenshot

lib/plugin/screenshot.js:183–189  ·  view source on GitHub ↗
(test, fileName, options)

Source from the content-addressed store, hash-verified

181}
182
183function scheduleScreenshot(test, fileName, options) {
184 recorder.add(
185 'screenshot capture',
186 async () => takeScreenshot(test, fileName, options),
187 true,
188 )
189}
190
191async function takeScreenshot(test, fileName, options) {
192 const quietMode = !store.outputDir

Callers 3

wireOnFailFunction · 0.85
wireOnTestFunction · 0.85
wireOnStepFunction · 0.85

Calls 2

takeScreenshotFunction · 0.85
addMethod · 0.45

Tested by

no test coverage detected