test: fixed executable path test if ran in Docker (#4219)
This commit is contained in:
parent
1ef090c3ac
commit
dcbdb4a6b0
|
|
@ -23,7 +23,6 @@ it('browserType.executablePath should work', test => {
|
||||||
}, async ({browserType}) => {
|
}, async ({browserType}) => {
|
||||||
const executablePath = browserType.executablePath();
|
const executablePath = browserType.executablePath();
|
||||||
expect(fs.existsSync(executablePath)).toBe(true);
|
expect(fs.existsSync(executablePath)).toBe(true);
|
||||||
expect(fs.realpathSync(executablePath)).toBe(executablePath);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
it('browserType.name should work', async ({browserType, isChromium, isFirefox, isWebKit}) => {
|
it('browserType.name should work', async ({browserType, isChromium, isFirefox, isWebKit}) => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue