playwright/tests
Hansanto a950a7b86b
feat: Support intervals arg for toPass (#30037)
Fixes #30040

# Context

In the `playwright.config` file, we can custom the default `timeout`
property for `expect.toPass` by the property:

```ts title='playwright.config.ts'
export default defineConfig({
  // ...
  expect: {
    toPass: {
      timeout: 60_000,
    },
  },
});
```

However, we can't customize the `intervals` option. So the default value
is always `[100, 250, 500, 1000]`.

# Goal

Add the possibility to customize the intervals option from the
`playwright.config` file.

```ts title='playwright.config.ts'
export default defineConfig({
  // ...
  expect: {
    toPass: {
      timeout: 60_000,
      intervals: [1000, 2000, 3000]
    },
  },
});
```
2024-03-29 10:17:29 -07:00
..
android chore: do not use project id in telereporter (#29776) 2024-03-01 21:44:08 -08:00
assets fix: preserve test declaration order in html and merged report (#30159) 2024-03-29 10:12:33 -07:00
components test: bump ct typescript version (#29855) 2024-03-11 17:09:26 +01:00
config test: generate debug controller channel (#30018) 2024-03-20 16:56:29 +01:00
electron chore: do not use project id in telereporter (#29776) 2024-03-01 21:44:08 -08:00
image_tools chore: bump @babel dependencies (#27632) 2023-10-17 20:52:41 +02:00
installation fix: point to the right cli program export (#29715) 2024-02-28 14:05:42 -08:00
library chore: revert support of duplicate form data fields in multipart post data (#30127) 2024-03-26 12:36:35 -07:00
page fix(firefox): disable cache when request interception is enabled (#30113) 2024-03-28 10:25:37 -07:00
playwright-test feat: Support intervals arg for toPass (#30037) 2024-03-29 10:17:29 -07:00
stress fix(dispatchers): separate gc bucket for main frame, increased limit (#28629) 2023-12-14 10:42:08 -08:00
third_party/proxy test: vendor 'proxy' dependency (#29370) 2024-02-05 21:57:14 +01:00
webview2 devops: fix WebView2 tests (#30009) 2024-03-19 23:18:20 +01:00
.eslintrc.js chore: strengthen linting (#29669) 2024-02-26 16:52:28 -08:00
index.d.ts test: added tests for WebSocket over Socks proxy (#7235) 2021-06-24 18:50:16 +02:00
tsconfig.json test: add installation tests for supposed plugin story (#27331) 2023-09-28 17:18:22 -07:00