playwright/test
Dmitry Gozman b3497b333e
fix(actions): wait for some time before retrying the action (#4001)
This saves some CPU cycles while waiting for the page to
change the state, e.g. for animations to complete.

Note that retrying logic is only applicable in rare
circumstances like unexpected scroll in the middle of an
action, or some overlay blocking the click. Usually,
action times out in this cases while retrying.
2020-09-29 10:28:19 -07:00
..
__snapshots__ feat(testrunner): allow unexpected passes (#3665) 2020-08-28 00:32:00 -07:00
assets test(screencast): always use chromium to replay the video (#3841) 2020-09-10 18:09:17 -07:00
chromium chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
electron chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
firefox chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
fixtures test: always setUnderTest in index.js, rename to setDevMode (#3662) 2020-08-27 21:08:33 -07:00
accessibility.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
autowaiting-basic.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
autowaiting-no-hang.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
browser.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
browsercontext-add-cookies.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
browsercontext-basic.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
browsercontext-clearcookies.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
browsercontext-cookies.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
browsercontext-credentials.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
browsercontext-csp.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
browsercontext-device.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
browsercontext-expose-function.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
browsercontext-locale.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
browsercontext-page-event.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
browsercontext-route.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
browsercontext-timezone-id.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
browsercontext-user-agent.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
browsercontext-viewport-mobile.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
browsercontext-viewport.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
browsertype-basic.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
browsertype-connect.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
browsertype-launch-server.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
browsertype-launch.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
capabilities.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
channels.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
check.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
checkCoverage.js feat(screencast): auto recording for new pages in chromium (#3701) 2020-08-31 15:21:02 -07:00
chromium-css-coverage.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
chromium-js-coverage.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
click-react.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
click-timeout-1.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
click-timeout-2.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
click-timeout-3.spec.ts fix(actions): wait for some time before retrying the action (#4001) 2020-09-29 10:28:19 -07:00
click-timeout-4.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
click.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
coverage.js feat(testrunner): allow unexpected passes (#3665) 2020-08-28 00:32:00 -07:00
defaultbrowsercontext-1.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
defaultbrowsercontext-2.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
dialog.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
dispatchevent.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
download.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
downloads-path.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
elementhandle-bounding-box.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
elementhandle-click.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
elementhandle-content-frame.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
elementhandle-convenience.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
elementhandle-eval-on-selector.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
elementhandle-misc.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
elementhandle-owner-frame.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
elementhandle-press.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
elementhandle-query-selector.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
elementhandle-screenshot.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
elementhandle-scroll-into-view.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
elementhandle-select-text.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
elementhandle-type.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
elementhandle-wait-for-element-state.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
emulation-focus.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
eval-on-selector-all.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
eval-on-selector.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
fixtures.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
fixtures.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
focus.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
frame-evaluate.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
frame-frame-element.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
frame-goto.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
frame-hierarchy.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
geolocation.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
headful.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
http.fixtures.ts chore: split playwright.fixtures into files (3) (#3984) 2020-09-25 23:30:46 -07:00
ignorehttpserrors.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
impl.fixtures.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
interception.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
jshandle-as-element.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
jshandle-evaluate.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
jshandle-json-value.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
jshandle-properties.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
jshandle-to-string.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
keyboard.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
launcher.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
logger.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
mouse.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
navigation.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
network-request.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
network-response.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
page-add-init-script.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
page-add-script-tag.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
page-add-style-tag.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
page-basic.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
page-emulate-media.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
page-evaluate-handle.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
page-evaluate.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
page-event-console.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
page-event-crash.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
page-event-network.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
page-event-pageerror.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
page-event-popup.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
page-event-request.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
page-expose-function.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
page-fill.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
page-goto.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
page-history.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
page-network-idle.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
page-route.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
page-screenshot.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
page-select-option.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
page-set-content.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
page-set-extra-http-headers.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
page-set-input-files.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
page-wait-for-load-state.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
page-wait-for-navigation.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
page-wait-for-request.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
page-wait-for-response.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
pdf.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
permissions.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
platform.fixtures.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
playwright.fixtures.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
popup.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
proxy.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
queryselector.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
remoteServer.fixture.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
request-continue.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
request-fulfill.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
run_static_server.js test: convert rename options to parameters, remove options magic (#3543) 2020-08-19 21:32:12 -07:00
screencast.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
selectors-css.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
selectors-misc.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
selectors-register.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
selectors-text.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
slowmo.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
trace.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
tsconfig.json feat(testrunner): delete types.d.ts (#3551) 2020-08-21 09:53:02 -07:00
utils.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
wait-for-function.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
wait-for-selector-1.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
wait-for-selector-2.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
workers.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00