playwright/test
Dmitry Gozman c4adeb66ce
fix(snapshot): do not let a single frame fail the whole snapshot (#3857)
Sometimes, we are unable to take a frame snapshot. The most common
example would be "frame is stuck during the navigation in Chromium",
where we cannot evaluate until the frame is done navigating.

In this case, use all other frames and just stub the failing ones
with "Snapshot is not available". Chances are, noone will even see
this frame because it's an invisible tracking iframe.
2020-09-11 15:13:37 -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: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
electron chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
firefox chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -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: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
autowaiting-basic.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
autowaiting-no-hang.spec.ts test: roll test-runner to 0.2.8 (#3748) 2020-09-02 21:43:38 -07:00
browser.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
browsercontext-add-cookies.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
browsercontext-basic.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
browsercontext-clearcookies.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00
browsercontext-cookies.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
browsercontext-credentials.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
browsercontext-csp.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00
browsercontext-device.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
browsercontext-expose-function.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00
browsercontext-locale.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00
browsercontext-page-event.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
browsercontext-route.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00
browsercontext-timezone-id.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00
browsercontext-user-agent.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00
browsercontext-viewport-mobile.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
browsercontext-viewport.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00
browsertype-basic.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
browsertype-connect.spec.ts chore: roll test runner to 0.3.5 (#3832) 2020-09-10 21:31:46 -07:00
browsertype-launch-server.spec.ts tes(types): use @ts-expect-error in tests where we check for errors (#3794) 2020-09-09 03:06:52 -07:00
browsertype-launch.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
capabilities.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
channels.spec.ts chore: fix compatibility to the domain module (#3851) 2020-09-11 14:40:49 -07:00
check.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -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: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
chromium-js-coverage.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
click-react.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
click-timeout-1.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
click-timeout-2.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00
click-timeout-3.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
click-timeout-4.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00
click.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
coverage.js feat(testrunner): allow unexpected passes (#3665) 2020-08-28 00:32:00 -07:00
defaultbrowsercontext-1.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
defaultbrowsercontext-2.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
dialog.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
dispatchevent.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
download.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
downloads-path.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
elementhandle-bounding-box.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
elementhandle-click.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00
elementhandle-content-frame.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00
elementhandle-convenience.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00
elementhandle-eval-on-selector.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00
elementhandle-misc.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00
elementhandle-owner-frame.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
elementhandle-press.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00
elementhandle-query-selector.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00
elementhandle-screenshot.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
elementhandle-scroll-into-view.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00
elementhandle-select-text.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
elementhandle-type.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00
elementhandle-wait-for-element-state.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
emulation-focus.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
eval-on-selector-all.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00
eval-on-selector.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00
fixtures.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
focus.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
frame-evaluate.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
frame-frame-element.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00
frame-goto.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00
frame-hierarchy.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
geolocation.spec.ts tes(types): use @ts-expect-error in tests where we check for errors (#3794) 2020-09-09 03:06:52 -07:00
headful.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
ignorehttpserrors.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00
interception.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00
jshandle-as-element.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00
jshandle-evaluate.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00
jshandle-json-value.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00
jshandle-properties.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00
jshandle-to-string.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
keyboard.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
launcher.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00
logger.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00
mouse.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
navigation.spec.ts test: roll test-runner to 0.2.8 (#3748) 2020-09-02 21:43:38 -07:00
network-request.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
network-response.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00
page-add-init-script.spec.ts tes(types): use @ts-expect-error in tests where we check for errors (#3794) 2020-09-09 03:06:52 -07:00
page-add-script-tag.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
page-add-style-tag.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00
page-basic.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
page-emulate-media.spec.ts tes(types): use @ts-expect-error in tests where we check for errors (#3794) 2020-09-09 03:06:52 -07:00
page-evaluate-handle.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00
page-evaluate.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
page-event-console.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00
page-event-crash.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
page-event-network.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
page-event-pageerror.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
page-event-popup.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00
page-event-request.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00
page-expose-function.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00
page-fill.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
page-goto.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
page-history.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
page-network-idle.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00
page-route.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
page-screenshot.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
page-select-option.spec.ts tes(types): use @ts-expect-error in tests where we check for errors (#3794) 2020-09-09 03:06:52 -07:00
page-set-content.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00
page-set-extra-http-headers.spec.ts tes(types): use @ts-expect-error in tests where we check for errors (#3794) 2020-09-09 03:06:52 -07:00
page-set-input-files.spec.ts fix(setInputFiles): make it work with CSP enabled (#3756) 2020-09-03 10:09:03 -07:00
page-wait-for-load-state.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
page-wait-for-navigation.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00
page-wait-for-request.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00
page-wait-for-response.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00
pdf.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
permissions.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
playwright.fixtures.ts chore: fix compatibility to the domain module (#3851) 2020-09-11 14:40:49 -07:00
popup.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
proxy.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
queryselector.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00
remoteServer.fixture.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
request-continue.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00
request-fulfill.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -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: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
selectors-css.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00
selectors-misc.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00
selectors-register.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00
selectors-text.spec.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
setup.ts chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
slowmo.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00
snapshot.spec.ts fix(snapshot): do not let a single frame fail the whole snapshot (#3857) 2020-09-11 15:13:37 -07:00
tsconfig.json feat(testrunner): delete types.d.ts (#3551) 2020-08-21 09:53:02 -07:00
utils.js chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
wait-for-function.spec.ts tes(types): use @ts-expect-error in tests where we check for errors (#3794) 2020-09-09 03:06:52 -07:00
wait-for-selector-1.spec.ts tes(types): use @ts-expect-error in tests where we check for errors (#3794) 2020-09-09 03:06:52 -07:00
wait-for-selector-2.spec.ts tes(types): use @ts-expect-error in tests where we check for errors (#3794) 2020-09-09 03:06:52 -07:00
workers.spec.ts test: explicitly require expect (#3755) 2020-09-03 09:43:08 -07:00