Skip to content

Commit 3a3b17d

Browse files
authored
Merge eed5ba9 into 040ab0c
2 parents 040ab0c + eed5ba9 commit 3a3b17d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/replay/metrics/src/scenarios.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export class JankTestScenario implements Scenario {
3939
public async run(_: playwright.Browser, page: playwright.Page): Promise<void> {
4040
let url = path.resolve(`./test-apps/jank/${this._indexFile}`);
4141
assert(fs.existsSync(url));
42-
url = `file:///${url.replace('\\', '/')}`;
42+
url = `file:///${url.replace(/\\/g, '/')}`;
4343
console.log('Navigating to ', url);
4444
await page.goto(url, { waitUntil: 'load', timeout: 60000 });
4545
await new Promise(resolve => setTimeout(resolve, 5000));

0 commit comments

Comments
 (0)