test: fixed executable path test if ran in Docker (#4219)

This commit is contained in:
Max Schmitt 2020-10-27 08:04:39 +01:00 committed by GitHub
parent 1ef090c3ac
commit dcbdb4a6b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,7 +23,6 @@ it('browserType.executablePath should work', test => {
}, async ({browserType}) => {
const executablePath = browserType.executablePath();
expect(fs.existsSync(executablePath)).toBe(true);
expect(fs.realpathSync(executablePath)).toBe(executablePath);
});
it('browserType.name should work', async ({browserType, isChromium, isFirefox, isWebKit}) => {