From 49ece365ab344adb5ea0b35746a83d2d938f9336 Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Mon, 12 Jun 2023 11:07:39 -0700 Subject: [PATCH] cherry-pick(#23661): fix: drop `expect.configure({ poll })` from types `poll` option is not actually supported as of June 12, 2023. Fixes https://github.com/microsoft/playwright/issues/23622 --- packages/playwright-test/types/test.d.ts | 1 - utils/generate_types/overrides-test.d.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/packages/playwright-test/types/test.d.ts b/packages/playwright-test/types/test.d.ts index eee9b7cd7cb7c..5623375da4369 100644 --- a/packages/playwright-test/types/test.d.ts +++ b/packages/playwright-test/types/test.d.ts @@ -4786,7 +4786,6 @@ export type Expect = { message?: string, timeout?: number, soft?: boolean, - poll?: boolean | { timeout?: number, intervals?: number[] }, }) => Expect; getState(): { expand?: boolean; diff --git a/utils/generate_types/overrides-test.d.ts b/utils/generate_types/overrides-test.d.ts index 15f32665a5808..aec3103037967 100644 --- a/utils/generate_types/overrides-test.d.ts +++ b/utils/generate_types/overrides-test.d.ts @@ -347,7 +347,6 @@ export type Expect = { message?: string, timeout?: number, soft?: boolean, - poll?: boolean | { timeout?: number, intervals?: number[] }, }) => Expect; getState(): { expand?: boolean;