We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent50d994d commit3a5a32dCopy full SHA for 3a5a32d
packages/playwright/src/mcp/test/testContext.ts
@@ -18,7 +18,7 @@ import fs from 'fs';
18
importosfrom'os';
19
importpathfrom'path';
20
21
-import{noColors,escapeRegExp,ManualPromise}from'playwright-core/lib/utils';
+import{noColors,escapeRegExp,ManualPromise,toPosixPath}from'playwright-core/lib/utils';
22
23
import{terminalScreen}from'../../reporters/base';
24
importListReporterfrom'../../reporters/list';
@@ -64,7 +64,7 @@ export class GeneratorJournal {
64
constresult:string[]=[];
65
result.push(`# Plan`);
66
result.push(this._plan);
67
-result.push(`# Seed file:${path.relative(this._rootPath,this._seed.file)}`);
+result.push(`# Seed file:${toPosixPath(path.relative(this._rootPath,this._seed.file))}`);
68
result.push('```ts');
69
result.push(this._seed.content);
70
result.push('```');