Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

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

Max Schmittdcbdb4a6b087
diff --git a/test/browsertype-basic.spec.ts b/test/browsertype-basic.spec.ts
index b900b37107..099c10c4eb 100644
--- a/test/browsertype-basic.spec.ts
+++ b/test/browsertype-basic.spec.ts
@@ -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}) => {