test: unskip service tests (#28170)

This commit is contained in:
Max Schmitt 2023-11-16 20:14:55 +01:00 committed by GitHub
parent 19cfd0cc5e
commit ee1e6cd72f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ const test = baseTest.extend<BrowserTestTestFixtures, BrowserTestWorkerFixtures>
}, { scope: 'worker' }],
browserType: [async ({ playwright, browserName, mode }, run) => {
test.skip(mode.startsWith('service'));
test.skip(mode === 'service2');
await run(playwright[browserName]);
}, { scope: 'worker' }],

View File

@ -21,7 +21,7 @@ import fs from 'fs';
import { getUserAgent } from '../../../packages/playwright-core/lib/utils/userAgent';
import { suppressCertificateWarning } from '../../config/utils';
test.skip(({ mode }) => mode.startsWith('service'));
test.skip(({ mode }) => mode === 'service2');
test('should connect to an existing cdp session', async ({ browserType, mode }, testInfo) => {
const port = 9339 + testInfo.workerIndex;