diff --git a/packages/playwright/package.json b/packages/playwright/package.json index b64a912ffb..d6a2aa23b2 100644 --- a/packages/playwright/package.json +++ b/packages/playwright/package.json @@ -28,6 +28,7 @@ "./lib/runner/testServer": "./lib/runner/testServer.js", "./lib/transform/esmLoader": "./lib/transform/esmLoader.js", "./lib/transform/transform": "./lib/transform/transform.js", + "./lib/internalsForTest": "./lib/internalsForTest.js", "./lib/plugins": "./lib/plugins/index.js", "./jsx-runtime": { "import": "./jsx-runtime.mjs", diff --git a/tests/library/component-parser.spec.ts b/tests/library/component-parser.spec.ts index a8ce3960b3..bbe0d35967 100644 --- a/tests/library/component-parser.spec.ts +++ b/tests/library/component-parser.spec.ts @@ -15,7 +15,7 @@ */ import { playwrightTest as it, expect } from '../config/browserTest'; -import type { AttributeSelector } from '../../packages/playwright-core/src/selectorParser'; +import type { AttributeSelector } from '../typed-imports'; import { parseAttributeSelector } from '../typed-imports'; const parse = (selector: string) => parseAttributeSelector(selector, false);