Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
feat(ct): export component fixture types to enable re-export (#15583)
Pavel Feldman56fb3ddefbf2
diff --git a/packages/playwright-ct-react/index.d.ts b/packages/playwright-ct-react/index.d.tsindex 95760bed6b..4f89f7b643 100644--- a/packages/playwright-ct-react/index.d.ts+++ b/packages/playwright-ct-react/index.d.ts@@ -34,7 +34,7 @@ export type PlaywrightTestConfig = Omit<BasePlaywrightTestConfig, 'use'> & {}};-interface ComponentFixtures {+export interface ComponentFixtures {mount(component: JSX.Element, options?: { hooksConfig?: any }): Promise<Locator>;}diff --git a/packages/playwright-ct-svelte/index.d.ts b/packages/playwright-ct-svelte/index.d.tsindex d5de0826df..34251168ed 100644--- a/packages/playwright-ct-svelte/index.d.ts+++ b/packages/playwright-ct-svelte/index.d.ts@@ -34,7 +34,7 @@ export type PlaywrightTestConfig = Omit<BasePlaywrightTestConfig, 'use'> & {}};-interface ComponentFixtures {+export interface ComponentFixtures {mount<Props = { [key: string]: any }>(component: any, options?: {props?: Props,slots?: { [key: string]: any },diff --git a/packages/playwright-ct-vue/index.d.ts b/packages/playwright-ct-vue/index.d.tsindex 0edc26608a..0ba8a57f72 100644--- a/packages/playwright-ct-vue/index.d.ts+++ b/packages/playwright-ct-vue/index.d.ts@@ -34,7 +34,7 @@ export type PlaywrightTestConfig = Omit<BasePlaywrightTestConfig, 'use'> & {}};-interface ComponentFixtures {+export interface ComponentFixtures {mount(component: JSX.Element): Promise<Locator>;mount<Props = { [key: string]: any }>(component: any, options?: {props?: Props,diff --git a/packages/playwright-ct-vue2/index.d.ts b/packages/playwright-ct-vue2/index.d.tsindex f45c64d3ee..4e27f16d39 100644--- a/packages/playwright-ct-vue2/index.d.ts+++ b/packages/playwright-ct-vue2/index.d.ts@@ -34,7 +34,7 @@ export type PlaywrightTestConfig = Omit<BasePlaywrightTestConfig, 'use'> & {}};-interface ComponentFixtures {+export interface ComponentFixtures {mount(component: JSX.Element): Promise<Locator>;mount<Props = { [key: string]: any }>(component: any, options?: {props?: Props,