chore: install Chromium to the same path as Chrome (#9922)
This commit is contained in:
parent
b738a0e485
commit
a88322e947
@ -41,7 +41,12 @@ export class Cache {
|
|||||||
}
|
}
|
||||||
|
|
||||||
browserRoot(browser: Browser): string {
|
browserRoot(browser: Browser): string {
|
||||||
return path.join(this.#rootDir, browser);
|
// Chromium is a special case for backward compatibility: we install it in
|
||||||
|
// the Chrome folder.
|
||||||
|
return path.join(
|
||||||
|
this.#rootDir,
|
||||||
|
browser === Browser.CHROMIUM ? Browser.CHROME : browser
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
installationDir(
|
installationDir(
|
||||||
|
@ -39,7 +39,7 @@ describe('Chromium', () => {
|
|||||||
buildId: '123',
|
buildId: '123',
|
||||||
cacheDir: 'cache',
|
cacheDir: 'cache',
|
||||||
}),
|
}),
|
||||||
path.join('cache', 'chromium', 'linux-123', 'chrome-linux', 'chrome')
|
path.join('cache', 'chrome', 'linux-123', 'chrome-linux', 'chrome')
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user