different approach
This commit is contained in:
parent
ad0f9b6f45
commit
eacfaadcee
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
import fs from 'fs';
|
||||
import { join } from 'path';
|
||||
import { PNG } from '../typed-imports/playwright-core/utilsBundle';
|
||||
import { PNG } from '../typed-imports';
|
||||
|
||||
import { androidTest as test, expect } from './androidTest';
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ import * as os from 'os';
|
|||
import type { PageTestFixtures, PageWorkerFixtures } from '../page/pageTestApi';
|
||||
import * as path from 'path';
|
||||
import type { BrowserContext, BrowserContextOptions, BrowserType, Page } from 'playwright-core';
|
||||
import { removeFolders } from '../typed-imports/playwright-core/utils';
|
||||
import { removeFolders } from '../typed-imports';
|
||||
import { baseTest } from './baseTest';
|
||||
import { type RemoteServerOptions, type PlaywrightServer, RunServer, RemoteServer } from './remoteServer';
|
||||
import type { Log } from '../../packages/trace/src/har';
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { getComparator } from '../typed-imports/playwright-core/utils';
|
||||
import { getComparator } from '../typed-imports';
|
||||
const pngComparator = getComparator('image/png');
|
||||
type ComparatorResult = { diff?: Buffer; errorMessage: string; } | null;
|
||||
type ImageComparatorOptions = { threshold?: number, maxDiffPixels?: number, maxDiffPixelRatio?: number };
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ import { TestServer } from './testserver';
|
|||
import { TestProxy } from './proxy';
|
||||
import type { SocksSocketRequestedPayload } from '../../packages/playwright-core/src/common/socksProxy';
|
||||
|
||||
import { SocksProxy } from '../typed-imports/playwright-core/socksProxy';
|
||||
import { SocksProxy } from '../typed-imports';
|
||||
|
||||
export type ServerWorkerOptions = {
|
||||
loopback?: string;
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ import url from 'url';
|
|||
import util from 'util';
|
||||
import ws from 'ws';
|
||||
import zlib, { gzip } from 'zlib';
|
||||
import { createHttpServer, createHttpsServer } from '../../typed-imports/playwright-core/utils';
|
||||
import { createHttpServer, createHttpsServer } from '../../typed-imports';
|
||||
|
||||
const fulfillSymbol = Symbol('fulfil callback');
|
||||
const rejectSymbol = Symbol('reject callback');
|
||||
|
|
|
|||
|
|
@ -15,10 +15,9 @@
|
|||
*/
|
||||
|
||||
import type { Frame, Page } from 'playwright-core';
|
||||
import { ZipFile } from '../typed-imports/playwright-core/utils';
|
||||
import { ZipFile, parseClientSideCallMetadata } from '../typed-imports';
|
||||
import type { TraceModelBackend } from '../../packages/trace-viewer/src/traceModel';
|
||||
import type { StackFrame } from '../../packages/protocol/src/channels';
|
||||
import { parseClientSideCallMetadata } from '../typed-imports/playwright-core/traceUtils';
|
||||
import { TraceModel } from '../../packages/trace-viewer/src/traceModel';
|
||||
import type { ActionTreeItem } from '../../packages/trace-viewer/src/ui/modelUtil';
|
||||
import { buildActionTree, MultiTraceModel } from '../../packages/trace-viewer/src/ui/modelUtil';
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
*/
|
||||
|
||||
import assert from 'assert';
|
||||
import { spawnAsync } from '../typed-imports/playwright-core/utils';
|
||||
import { spawnAsync } from '../typed-imports';
|
||||
|
||||
export default async () => {
|
||||
const result = await spawnAsync('npx', ['electron', require.resolve('./electron-print-chromium-version.js'), '--no-sandbox'], {
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
*/
|
||||
|
||||
import { test, expect } from '../playwright-test/stable-test-runner';
|
||||
import { PNG } from '../typed-imports/playwright-core/utilsBundle';
|
||||
import { PNG } from '../typed-imports';
|
||||
import { compare } from 'playwright-core/lib/image_tools/compare';
|
||||
import fs from 'fs';
|
||||
import path from 'path';
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { PNG } from '../typed-imports/playwright-core/utilsBundle';
|
||||
import { PNG } from '../typed-imports';
|
||||
import { ImageChannel } from 'playwright-core/lib/image_tools/imageChannel';
|
||||
|
||||
// mulberry32
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
import path from 'path';
|
||||
import fs from 'fs';
|
||||
import { spawnAsync, removeFolders } from '../typed-imports/playwright-core/utils';
|
||||
import { spawnAsync, removeFolders } from '../typed-imports';
|
||||
import { TMP_WORKSPACES } from './npmTest';
|
||||
|
||||
const PACKAGE_BUILDER_SCRIPT = path.join(__dirname, '..', '..', 'utils', 'pack_package.js');
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ import debugLogger from 'debug';
|
|||
import { Registry } from './registry';
|
||||
import type { CommonFixtures, CommonWorkerFixtures } from '../config/commonFixtures';
|
||||
import { commonFixtures } from '../config/commonFixtures';
|
||||
import { spawnAsync, removeFolders } from '../typed-imports/playwright-core/utils';
|
||||
import { spawnAsync, removeFolders } from '../typed-imports';
|
||||
import type { SpawnOptions } from 'child_process';
|
||||
|
||||
export const TMP_WORKSPACES = path.join(os.platform() === 'darwin' ? '/tmp' : os.tmpdir(), 'pwt', 'workspaces');
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ import type { Server } from 'http';
|
|||
import type http from 'http';
|
||||
import https from 'https';
|
||||
import path from 'path';
|
||||
import { spawnAsync, createHttpServer } from '../typed-imports/playwright-core/utils';
|
||||
import { spawnAsync, createHttpServer } from '../typed-imports';
|
||||
|
||||
const kPublicNpmRegistry = 'https://registry.npmjs.org';
|
||||
const kContentTypeAbbreviatedMetadata = 'application/vnd.npm.install-v1+json';
|
||||
|
|
|
|||
|
|
@ -20,13 +20,12 @@ import os from 'os';
|
|||
import type http from 'http';
|
||||
import type net from 'net';
|
||||
import * as path from 'path';
|
||||
import { getUserAgent, getPlaywrightVersion } from '../typed-imports/playwright-core/utils';
|
||||
import { getUserAgent, getPlaywrightVersion, createHttpServer } from '../typed-imports';
|
||||
import WebSocket from 'ws';
|
||||
import { expect, playwrightTest } from '../config/browserTest';
|
||||
import { parseTrace, suppressCertificateWarning } from '../config/utils';
|
||||
import formidable from 'formidable';
|
||||
import type { Browser, ConnectOptions } from 'playwright-core';
|
||||
import { createHttpServer } from '../typed-imports/playwright-core/utils';
|
||||
import { kTargetClosedErrorMessage } from '../config/errors';
|
||||
import { RunServer } from '../config/remoteServer';
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
import { playwrightTest as test, expect } from '../../config/browserTest';
|
||||
import http from 'http';
|
||||
import fs from 'fs';
|
||||
import { getUserAgent } from '../../typed-imports/playwright-core/utils';
|
||||
import { getUserAgent } from '../../typed-imports';
|
||||
import { suppressCertificateWarning } from '../../config/utils';
|
||||
|
||||
test.skip(({ mode }) => mode === 'service2');
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ import type http from 'http';
|
|||
import { expect, playwrightTest as base } from '../config/browserTest';
|
||||
import type net from 'net';
|
||||
import type { BrowserContextOptions } from 'packages/playwright-test';
|
||||
import { createHttpsServer, createHttp2Server } from '../typed-imports/playwright-core/utils';
|
||||
import { createHttpsServer, createHttp2Server } from '../typed-imports';
|
||||
|
||||
type TestOptions = {
|
||||
startCCServer(options?: {
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
import { playwrightTest as it, expect } from '../config/browserTest';
|
||||
import type { AttributeSelector } from '../../packages/playwright-core/src/selectorParser';
|
||||
import { parseAttributeSelector } from '../typed-imports/playwright-core/selectorParser';
|
||||
import { parseAttributeSelector } from '../typed-imports';
|
||||
|
||||
const parse = (selector: string) => parseAttributeSelector(selector, false);
|
||||
const serialize = (parsed: AttributeSelector) => {
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
*/
|
||||
|
||||
import { playwrightTest as it, expect } from '../config/browserTest';
|
||||
import { parseCSS, serializeSelector as serialize } from '../typed-imports/playwright-core/cssParser';
|
||||
import { parseCSS, serializeSelector as serialize } from '../typed-imports';
|
||||
|
||||
const parse = (selector: string) => {
|
||||
return parseCSS(selector, new Set(['text', 'not', 'has', 'react', 'scope', 'right-of', 'is'])).selector;
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
import { expect, playwrightTest as baseTest } from '../config/browserTest';
|
||||
import { PlaywrightServer } from '../../packages/playwright-core/lib/remote/playwrightServer';
|
||||
import { createGuid } from '../typed-imports/playwright-core/utils';
|
||||
import { createGuid } from '../typed-imports';
|
||||
import { Backend } from '../config/debugControllerBackend';
|
||||
import type { Browser, BrowserContext } from '@playwright/test';
|
||||
import type * as channels from '@protocol/channels';
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
import events from 'events';
|
||||
import { EventEmitter } from '../../../packages/playwright-core/lib/client/eventEmitter';
|
||||
import { setUnderTest } from '../../typed-imports/playwright-core/utils';
|
||||
import { setUnderTest } from '../../typed-imports';
|
||||
import { test, expect } from '@playwright/test';
|
||||
import * as common from './utils';
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
import os from 'os';
|
||||
import util from 'util';
|
||||
import { getPlaywrightVersion } from '../typed-imports/playwright-core/utils';
|
||||
import { getPlaywrightVersion } from '../typed-imports';
|
||||
import { expect, playwrightTest as base } from '../config/browserTest';
|
||||
import { kTargetClosedErrorMessage } from 'tests/config/errors';
|
||||
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ import type { BrowserContext, BrowserContextOptions } from 'playwright-core';
|
|||
import type { AddressInfo } from 'net';
|
||||
import type { Log } from '../../packages/trace/src/har';
|
||||
import { parseHar } from '../config/utils';
|
||||
import { createHttp2Server } from '../typed-imports/playwright-core/utils';
|
||||
import { createHttp2Server } from '../typed-imports';
|
||||
|
||||
async function pageWithHar(contextFactory: (options?: BrowserContextOptions) => Promise<BrowserContext>, testInfo: any, options: { outputPath?: string, content?: 'embed' | 'attach' | 'omit', omitContent?: boolean } = {}) {
|
||||
const harPath = testInfo.outputPath(options.outputPath || 'test.har');
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
*/
|
||||
|
||||
import { compare } from 'playwright-core/lib/image_tools/compare';
|
||||
import { PNG } from '../typed-imports/playwright-core/utilsBundle';
|
||||
import { PNG } from '../typed-imports';
|
||||
import { expect, playwrightTest as it } from '../config/browserTest';
|
||||
|
||||
it.use({ headless: false });
|
||||
|
|
|
|||
|
|
@ -15,8 +15,7 @@
|
|||
*/
|
||||
|
||||
import { contextTest as it, expect } from '../config/browserTest';
|
||||
import { asLocator, asLocators } from '../typed-imports/playwright-core/locatorGenerators';
|
||||
import { locatorOrSelectorAsSelector as parseLocator } from '../typed-imports/playwright-core/locatorParser';
|
||||
import { asLocator, asLocators, locatorOrSelectorAsSelector as parseLocator } from '../typed-imports';
|
||||
import type { Page, Frame, Locator, FrameLocator } from 'playwright-core';
|
||||
|
||||
it.skip(({ mode }) => mode !== 'default');
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
*/
|
||||
|
||||
import { expect, browserTest } from '../config/browserTest';
|
||||
import { PNG } from '../typed-imports/playwright-core/utilsBundle';
|
||||
import { PNG } from '../typed-imports';
|
||||
import { verifyViewport } from '../config/utils';
|
||||
|
||||
browserTest.describe('page screenshot', () => {
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
*/
|
||||
|
||||
import fs from 'fs';
|
||||
import { jpegjs } from '../typed-imports/playwright-core/utilsBundle';
|
||||
import { jpegjs } from '../typed-imports';
|
||||
import path from 'path';
|
||||
import { browserTest, contextTest as test, expect } from '../config/browserTest';
|
||||
import { parseTraceRaw } from '../config/utils';
|
||||
|
|
|
|||
|
|
@ -19,9 +19,8 @@ import fs from 'fs';
|
|||
import path from 'path';
|
||||
import type { Page } from 'playwright-core';
|
||||
import { spawnSync } from 'child_process';
|
||||
import { PNG, jpegjs } from '../typed-imports/playwright-core/utilsBundle';
|
||||
import { PNG, jpegjs, rewriteErrorMessage } from '../typed-imports';
|
||||
import { registry } from '../../packages/playwright-core/lib/server';
|
||||
import { rewriteErrorMessage } from '../typed-imports/playwright-core/utils';
|
||||
import { parseTraceRaw } from '../config/utils';
|
||||
|
||||
const ffmpeg = registry.findExecutable('ffmpeg')!.executablePath('javascript');
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
*/
|
||||
|
||||
import { test as it, expect } from './pageTest';
|
||||
import { globToRegex } from '../typed-imports/playwright-core/utils';
|
||||
import { globToRegex } from '../typed-imports';
|
||||
import vm from 'vm';
|
||||
|
||||
it('should work with navigation @smoke', async ({ page, server }) => {
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { MultiMap } from '../typed-imports/playwright-core/utils';
|
||||
import { MultiMap } from '../typed-imports';
|
||||
import { test, expect } from './pageTest';
|
||||
|
||||
function leakedJSHandles(): string {
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
import path from 'path';
|
||||
import { test, expect, parseTestRunnerOutput, stripAnsi } from './playwright-test-fixtures';
|
||||
import { spawnAsync } from '../typed-imports/playwright-core/utils';
|
||||
import { spawnAsync } from '../typed-imports';
|
||||
|
||||
test('should be able to call expect.extend in config', async ({ runInlineTest }) => {
|
||||
const result = await runInlineTest({
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ import type { JSONReport, JSONReportSpec, JSONReportSuite, JSONReportTest, JSONR
|
|||
import * as fs from 'fs';
|
||||
import * as os from 'os';
|
||||
import * as path from 'path';
|
||||
import { PNG } from '../typed-imports/playwright-core/utilsBundle';
|
||||
import { PNG } from '../typed-imports';
|
||||
import type { CommonFixtures, CommonWorkerFixtures, TestChildProcess } from '../config/commonFixtures';
|
||||
import { commonFixtures } from '../config/commonFixtures';
|
||||
import type { ServerFixtures, ServerWorkerOptions } from '../config/serverFixtures';
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ import { startHtmlReportServer } from '../../packages/playwright/lib/reporters/h
|
|||
import { expect as baseExpect, test as baseTest, stripAnsi } from './playwright-test-fixtures';
|
||||
import extractZip from '../../packages/playwright-core/bundles/zip/node_modules/extract-zip';
|
||||
import * as yazl from '../../packages/playwright-core/bundles/zip/node_modules/yazl';
|
||||
import { getUserAgent } from '../typed-imports/playwright-core/utils';
|
||||
import { getUserAgent } from '../typed-imports';
|
||||
import { Readable } from 'stream';
|
||||
|
||||
const DOES_NOT_SUPPORT_UTF8_IN_TERMINAL = process.platform === 'win32' && process.env.TERM_PROGRAM !== 'vscode' && !process.env.WT_SESSION;
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ import { test as baseTest, expect as baseExpect, createImage } from './playwrigh
|
|||
import type { HttpServer } from '../../packages/playwright-core/src/utils';
|
||||
import { startHtmlReportServer } from '../../packages/playwright/lib/reporters/html';
|
||||
import { msToString } from '../../packages/web/src/uiUtils';
|
||||
import { spawnAsync } from '../typed-imports/playwright-core/utils';
|
||||
import { spawnAsync } from '../typed-imports';
|
||||
|
||||
const test = baseTest.extend<{ showReport: (reportFolder?: string) => Promise<void> }>({
|
||||
showReport: async ({ page }, use, testInfo) => {
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
*/
|
||||
|
||||
import * as fs from 'fs';
|
||||
import { PNG } from '../typed-imports/playwright-core/utilsBundle';
|
||||
import { PNG } from '../typed-imports';
|
||||
import * as path from 'path';
|
||||
import { pathToFileURL } from 'url';
|
||||
import { test, expect, createImage, paintBlackPixels } from './playwright-test-fixtures';
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { ManualPromise } from '../typed-imports/playwright-core/utils';
|
||||
import { ManualPromise } from '../typed-imports';
|
||||
import { test, expect, retries, dumpTestTree } from './ui-mode-fixtures';
|
||||
|
||||
test.describe.configure({ mode: 'parallel', retries });
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
import type http from 'http';
|
||||
import path from 'path';
|
||||
import { test, expect, parseTestRunnerOutput } from './playwright-test-fixtures';
|
||||
import { createHttpServer } from '../typed-imports/playwright-core/utils';
|
||||
import { createHttpServer } from '../typed-imports';
|
||||
|
||||
const SIMPLE_SERVER_PATH = path.join(__dirname, 'assets', 'simple-server.js');
|
||||
|
||||
|
|
|
|||
24
tests/typed-imports/index.d.ts
vendored
Normal file
24
tests/typed-imports/index.d.ts
vendored
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
/**
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export * from '../../packages/playwright-core/src/utils/isomorphic/cssParser';
|
||||
export * from '../../packages/playwright-core/src/utils/isomorphic/locatorGenerators';
|
||||
export * from '../../packages/playwright-core/src/utils/isomorphic/locatorParser';
|
||||
export * from '../../packages/playwright-core/src/utils/isomorphic/selectorParser';
|
||||
export * from '../../packages/playwright-core/src/common/socksProxy';
|
||||
export * from '../../packages/playwright-core/src/utils/isomorphic/traceUtils';
|
||||
export * from '../../packages/playwright-core/src/utils';
|
||||
export * from '../../packages/playwright-core/src/utilsBundle';
|
||||
26
tests/typed-imports/index.js
Normal file
26
tests/typed-imports/index.js
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
/**
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
module.exports = {
|
||||
...require('../../packages/playwright-core/lib/utils'),
|
||||
...require('../../packages/playwright-core/lib/utilsBundle'),
|
||||
...require('../../packages/playwright-core/lib/common/socksProxy'),
|
||||
...require('../../packages/playwright-core/lib/utils/isomorphic/traceUtils'),
|
||||
...require('../../packages/playwright-core/lib/utils/isomorphic/locatorGenerators'),
|
||||
...require('../../packages/playwright-core/lib/utils/isomorphic/selectorParser'),
|
||||
...require('../../packages/playwright-core/lib/utils/isomorphic/locatorParser'),
|
||||
...require('../../packages/playwright-core/lib/utils/isomorphic/cssParser'),
|
||||
};
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
/**
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export * from '../../../packages/playwright-core/src/utils/isomorphic/cssParser';
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
/**
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
module.exports = require('../../../packages/playwright-core/lib/utils/isomorphic/cssParser');
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
/**
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export * from '../../../packages/playwright-core/src/utils/isomorphic/locatorGenerators';
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
/**
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
module.exports = require('../../../packages/playwright-core/lib/utils/isomorphic/locatorGenerators');
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
/**
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export * from '../../../packages/playwright-core/src/utils/isomorphic/locatorParser';
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
/**
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
module.exports = require('../../../packages/playwright-core/lib/utils/isomorphic/locatorParser');
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
/**
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export * from '../../../packages/playwright-core/src/utils/isomorphic/selectorParser';
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
/**
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
module.exports = require('../../../packages/playwright-core/lib/utils/isomorphic/selectorParser');
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
/**
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export * from '../../../packages/playwright-core/src/common/socksProxy';
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
/**
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
module.exports = require('../../../packages/playwright-core/lib/common/socksProxy');
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
/**
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export * from '../../../packages/playwright-core/src/utils/isomorphic/traceUtils';
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
/**
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
module.exports = require('../../../packages/playwright-core/lib/utils/isomorphic/traceUtils');
|
||||
17
tests/typed-imports/playwright-core/utils.d.ts
vendored
17
tests/typed-imports/playwright-core/utils.d.ts
vendored
|
|
@ -1,17 +0,0 @@
|
|||
/**
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export * from '../../../packages/playwright-core/src/utils';
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
/**
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
module.exports = require('../../../packages/playwright-core/lib/utils');
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
/**
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export * from 'playwright-core/src/utilsBundle';
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
/**
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
module.exports = require('../../../packages/playwright-core/lib/utilsBundle');
|
||||
Loading…
Reference in a new issue