playwright/packages
Andrey Lushnikov cfe92e1608
feat(test-runner): implement expect.poll (#12815)
This patch implements `expect.poll()` method that polls given
predicate until a given synchronous predicate completes.

Usage:

```js
// wait until page gets 3 frames.
await expect.poll(() => page.frames().length, {
  timeout: 1000,
  message: 'custom error message',
}).toBe(3);
```

Fixes #10235
2022-03-18 16:31:26 -07:00
..
html-reporter chore: prepare to publish component packages (#12697) 2022-03-12 13:51:27 -08:00
playwright chore: cut v1.20 branch (#12593) 2022-03-08 14:01:20 -08:00
playwright-chromium chore: fix markdown links in NPM README's (#12833) 2022-03-17 15:28:57 +01:00
playwright-core chore: improve handling with missing xserver (#12724) 2022-03-18 22:39:11 +01:00
playwright-ct-react chore: mount should return locator pointing to the component element / fragment (#12718) 2022-03-13 21:26:13 -07:00
playwright-ct-svelte chore: mount should return locator pointing to the component element / fragment (#12718) 2022-03-13 21:26:13 -07:00
playwright-ct-vue chore(vue): allow adding events in jsx templates (#12746) 2022-03-15 13:02:10 -07:00
playwright-firefox chore: fix markdown links in NPM README's (#12833) 2022-03-17 15:28:57 +01:00
playwright-test feat(test-runner): implement expect.poll (#12815) 2022-03-18 16:31:26 -07:00
playwright-webkit chore: fix markdown links in NPM README's (#12833) 2022-03-17 15:28:57 +01:00
.eslintrc.js chore: don't write into stdout from the test runner, use reporters instead (#11367) 2022-01-12 19:52:40 -08:00