Skip to content

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

test: unskip various proxy tests (#32595)

Max Schmitt8e82f53ceb94
diff --git a/tests/library/browsercontext-proxy.spec.ts b/tests/library/browsercontext-proxy.spec.ts
index 466e866e04..460c242998 100644
--- a/tests/library/browsercontext-proxy.spec.ts
+++ b/tests/library/browsercontext-proxy.spec.ts
@@ -25,10 +25,6 @@ it.beforeEach(({ server }) => {
});
it('should work when passing the proxy only on the context level', async ({ browserName, platform, browserType, server, proxyServer }) => {
- // Currently an upstream bug in the network stack of Chromium which leads that
- // the wrong proxy gets used in the BrowserContext.
- it.fixme(browserName === 'chromium' && platform === 'win32');
-
proxyServer.forwardTo(server.PORT);
let browser;
try {
diff --git a/tests/library/client-certificates.spec.ts b/tests/library/client-certificates.spec.ts
index 75ca2468f7..682df0b00f 100644
--- a/tests/library/client-certificates.spec.ts
+++ b/tests/library/client-certificates.spec.ts
@@ -76,15 +76,6 @@ const test = base.extend<TestOptions>({
},
});
-test.use({
- launchOptions: async ({ launchOptions }, use) => {
- await use({
- ...launchOptions,
- proxy: { server: 'per-context' }
- });
- }
-});
-
const kDummyFileName = __filename;
const kValidationSubTests: [BrowserContextOptions, string][] = [
[{ clientCertificates: [{ origin: 'test' }] }, 'None of cert, key, passphrase or pfx is specified'],
diff --git a/tests/library/proxy.spec.ts b/tests/library/proxy.spec.ts
index 344763bb1d..947f3b8788 100644
--- a/tests/library/proxy.spec.ts
+++ b/tests/library/proxy.spec.ts
@@ -145,7 +145,6 @@ it('should authenticate', async ({ browserType, server }) => {
});
it('should work with authenticate followed by redirect', async ({ browserName, browserType, server }) => {
- it.fixme(browserName === 'firefox', 'https://github.com/microsoft/playwright/issues/10095');
function hasAuth(req, res) {
const auth = req.headers['proxy-authorization'];
if (!auth) {
@@ -324,7 +323,6 @@ async function setupSocksForwardingServer(port: number, forwardPort: number) {
}
it('should use SOCKS proxy for websocket requests', async ({ browserName, platform, browserType, server }, testInfo) => {
- it.fixme(browserName === 'webkit' && platform !== 'linux');
const { proxyServerAddr, closeProxyServer } = await setupSocksForwardingServer(testInfo.workerIndex + 2048 + 2, server.PORT);
const browser = await browserType.launch({
proxy: {