Skip to content

Commit 4e14de7

Browse files
committed
test: include har.spec.ts and interception.spec.ts
1 parent fafd8d6 commit 4e14de7

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

packages/playwright-cloudflare/utils/generate_worker_tests.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,13 @@ import { deleteDir, listFiles, writeFile } from "./utils.js";
55
const basedir = path.dirname(fileURLToPath(import.meta.url));
66

77
const excludedFiles = [
8-
'page/interception.spec.ts',
98
'page/page-leaks.spec.ts',
10-
119
'library/browsertype-connect.spec.ts',
1210
'library/browsertype-launch-selenium.spec.ts',
1311
'library/browsertype-launch-server.spec.ts',
1412
'library/browsertype-launch.spec.ts',
1513
'library/client-certificates.spec.ts',
1614
'library/debug-controller.spec.ts',
17-
'library/har.spec.ts',
1815
'library/headful.spec.ts',
1916
'library/launcher.spec.ts',
2017
'library/snapshotter.spec.ts',

tests/library/har.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import type { BrowserContext, BrowserContextOptions } from 'playwright-core';
2222
import type { AddressInfo } from 'net';
2323
import type { Log } from '../../packages/trace/src/har';
2424
import { parseHar } from '../config/utils';
25-
const { createHttp2Server } = require('../../packages/playwright-core/lib/utils');
25+
// const { createHttp2Server } = require('../../packages/playwright-core/lib/utils');
2626

2727
async function pageWithHar(contextFactory: (options?: BrowserContextOptions) => Promise<BrowserContext>, testInfo: any, options: { outputPath?: string } & Partial<Pick<BrowserContextOptions['recordHar'], 'content' | 'omitContent' | 'mode'>> = {}) {
2828
const harPath = testInfo.outputPath(options.outputPath || 'test.har');

0 commit comments

Comments
 (0)