MCPcopy
hub / github.com/microsoft/playwright / onBegin

Method onBegin

tests/playwright-test/reporter-blob.spec.ts:2308–2311  ·  view source on GitHub ↗
(config, suite)

Source from the content-addressed store, hash-verified

2306 const reportDir = test.info().outputPath('blob-report');
2307 class CustomReporter {
2308 onBegin(config, suite) {
2309 const projectNames = config.projects.map(p => p.name);
2310 console.log('%%' + JSON.stringify(projectNames));
2311 }
2312 }
2313 const files = {
2314 'reporter.js': `module.exports = ${CustomReporter.toString()};`,

Callers

nothing calls this directly

Calls 2

logMethod · 0.65
stringifyMethod · 0.65

Tested by

no test coverage detected