Skip to content

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

test: selectively disable selenium tests (#21741)

Andrey Lushnikov36a105552490
diff --git a/tests/installation/connect-to-selenium.spec.ts b/tests/installation/connect-to-selenium.spec.ts
index cd387d16e1..4e72c32c24 100755
--- a/tests/installation/connect-to-selenium.spec.ts
+++ b/tests/installation/connect-to-selenium.spec.ts
@@ -18,7 +18,6 @@ import path from 'path';
import { test } from './npmTest';
test('connect to selenium', async ({ exec, tmpWorkspace }, testInfo) => {
- test.fixme(true, 'https://github.com/microsoft/playwright/issues/21733');
test.skip(os.platform() !== 'linux');
await exec('npm i --foreground-scripts playwright-core');
diff --git a/tests/library/browsertype-launch-selenium.spec.ts b/tests/library/browsertype-launch-selenium.spec.ts
index d9cd9c6adc..33fa1480f7 100644
--- a/tests/library/browsertype-launch-selenium.spec.ts
+++ b/tests/library/browsertype-launch-selenium.spec.ts
@@ -94,6 +94,7 @@ test('selenium grid 3.141.59 hub + node chromium', async ({ browserName, childPr
});
test('selenium grid 4.4.0 standalone chromium', async ({ browserName, childProcess, waitForPort, browserType }, testInfo) => {
+ test.fixme(true, 'https://github.com/microsoft/playwright/issues/21733');
test.skip(browserName !== 'chromium');
const port = testInfo.workerIndex + 15123;
@@ -117,6 +118,7 @@ test('selenium grid 4.4.0 standalone chromium', async ({ browserName, childProce
});
test('selenium grid 4.4.0 hub + node chromium', async ({ browserName, childProcess, waitForPort, browserType }, testInfo) => {
+ test.fixme(true, 'https://github.com/microsoft/playwright/issues/21733');
test.skip(browserName !== 'chromium');
const port = testInfo.workerIndex + 15123;