File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
export const previousResultsDir = 'out/previous-results' ;
2
2
export const baselineResultsDir = 'out/baseline-results' ;
3
3
export const latestResultFile = 'out/latest-result.json' ;
4
- export const artifactName = "sdk-metrics-replay "
4
+ export const artifactName = "replay- sdk-metrics"
Original file line number Diff line number Diff line change @@ -36,8 +36,10 @@ export class JankTestScenario implements Scenario {
36
36
public constructor ( private withSentry : boolean ) { }
37
37
38
38
public async run ( _ : puppeteer . Browser , page : puppeteer . Page ) : Promise < void > {
39
- const url = path . resolve ( './test-apps/jank/' + ( this . withSentry ? 'with-sentry' : 'index' ) + '.html' ) ;
39
+ let url = path . resolve ( './test-apps/jank/' + ( this . withSentry ? 'with-sentry' : 'index' ) + '.html' ) ;
40
40
assert ( fs . existsSync ( url ) ) ;
41
+ url = 'file:///' + url . replace ( '\\' , '/' ) ;
42
+ console . log ( 'Navigating to ' , url ) ;
41
43
await page . goto ( url , { waitUntil : 'load' , timeout : 60000 } ) ;
42
44
await new Promise ( resolve => setTimeout ( resolve , 5000 ) ) ;
43
45
}
You can’t perform that action at this time.
0 commit comments