playwright/test
Dmitry Gozman 9d9599c6a6
api(video): implement video.saveAs and video.delete (#6005)
These methods are safe to call while the page is still open, or when it is
already closed. Works in remotely connected browser as well.

Also makes video.path() to throw for remotely connected browser.

Under the hood migrated Download and Video to use the common Artifact object.
2021-03-31 10:38:05 -07:00
..
__snapshots__ feat(chromium): roll Chromium to r851527 (#5434) 2021-02-16 14:21:47 -08:00
android test(android): run selected page tests on android (#5879) 2021-03-18 19:31:54 -07:00
assets fix: favicon with color pref crashes firefox (#5977) (#5979) 2021-03-29 14:53:18 -07:00
chromium fix(chromium): fix crash if connecting to a browser with a serviceworker (#5803) 2021-03-15 09:50:17 -07:00
cli feat(size): emulate window.screen size (#5967) 2021-03-29 14:10:58 -07:00
electron docs: document electron api (#5229) 2021-02-01 11:43:26 -08:00
firefox chore: roll test fixtures, replace trace w/ video (#4129) 2020-10-13 13:18:36 -07:00
fixtures fix(launchServer): wait for the server to start before taking its address (#4513) 2020-11-23 15:23:31 -08:00
page feat(chromium): bump to r865012 (#5963) 2021-03-31 09:51:18 -07:00
beforeunload.spec.ts feat(chromium): roll Chromium to r823944 (#4341) 2020-11-04 11:20:02 -08: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 feat(storage): accept path in save/load storage apis (#4714) 2020-12-14 16:03:52 -08:00
browsercontext-add-init-script.spec.ts test(android): run selected page tests on android (#5879) 2021-03-18 19:31:54 -07:00
browsercontext-basic.spec.ts fix: add parameter to close/crash/disconnected etc events (#5098) 2021-01-22 09:58:31 -08: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 fix: return non-secure cookies with HTTPS URLs (#5507) 2021-02-19 11:50:59 -08: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 feat(size): emulate window.screen size (#5967) 2021-03-29 14:10:58 -07:00
browsercontext-dsf.spec.ts link: make lint happy 2020-12-02 13:48:44 -08:00
browsercontext-expose-function.spec.ts test: make init script test strict again (#5877) 2021-03-18 15:18:25 -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-proxy.spec.ts feat(proxy): throw when socks proxy is used with auth (#5358) 2021-02-08 12:07:45 -08:00
browsercontext-route.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
browsercontext-set-extra-http-headers.spec.ts test(android): run selected page tests on android (3) (#5910) 2021-03-23 10:07:15 -07:00
browsercontext-storage-state.spec.ts chore: pretty print storage state (#5830) 2021-03-15 19:03:09 -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 feat(webkit): bump to 1363 (#4178) 2020-10-19 17:40:25 -07:00
browsercontext-viewport.spec.ts feat(webkit): roll webkit to r1395 (#4550) 2020-12-01 05:26:53 -08:00
browsertype-basic.spec.ts infra(channel): wire release channel to all tests (#5820) 2021-03-15 08:07:57 -07:00
browsertype-connect.spec.ts api(video): implement video.saveAs and video.delete (#6005) 2021-03-31 10:38:05 -07:00
browsertype-launch-server.spec.ts infra(channel): wire release channel to all tests (#5820) 2021-03-15 08:07:57 -07:00
browsertype-launch.spec.ts chore: update error message when using userDataDir arg (#5814) 2021-03-15 16:58:46 -07:00
capabilities.spec.ts docs: fixed various typos (#5958) 2021-03-26 10:47:16 -07:00
channels.spec.ts chore: expose adb devices and actions (#4647) 2020-12-09 15:06:57 -08:00
checkCoverage.js docs: document Android and friends (#5415) 2021-02-11 10:31:57 -08:00
chromium-css-coverage.spec.ts test: improve test names (#5511) 2021-02-24 13:28:22 -08:00
chromium-js-coverage.spec.ts test: improve test names (#5511) 2021-02-24 13:28:22 -08:00
coverage.js docs: document Android and friends (#5415) 2021-02-11 10:31:57 -08:00
css-parser.spec.ts test: remove hacky requires, use imports instead (#4835) 2020-12-28 11:14:33 -08: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(stable): throw user-friendly message when ffmpeg is missing (#5865) 2021-03-17 19:19:44 -07:00
download.spec.ts api(video): implement video.saveAs and video.delete (#6005) 2021-03-31 10:38:05 -07:00
downloads-path.spec.ts chore: remove stray test logs (#5955) 2021-03-25 17:15:04 -07:00
elementhandle-bounding-box.spec.ts docs: improve boundingBox documentation (#4500) 2020-11-19 13:55:14 -08:00
elementhandle-screenshot.spec.ts test(resize): add a screenshot resize test (#5907) 2021-03-22 20:44:26 -07:00
emulation-focus.spec.ts test(focus): add passing test for focusing more than one page (#4347) 2020-11-04 22:42:35 -08:00
favicon.spec.ts fix(firefox): roll Firefox to 1239 (#6007) 2021-03-30 17:27:47 -07:00
fixtures.spec.ts infra(channel): wire release channel to all tests (#5820) 2021-03-15 08:07:57 -07:00
fixtures.ts chore: expose channel name literals for types (#5922) 2021-03-23 13:21:03 -07:00
frame-evaluate.spec.ts test(android): run selected page tests on android (2) (#5882) 2021-03-18 21:11: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 feat(chromium): roll to r828656 (#4503) 2020-11-20 08:10:27 -08:00
geolocation.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
har.spec.ts chore(typescript): enable esModuleInterop (#5409) 2021-02-11 06:36:15 -08:00
headful.spec.ts infra(stable): add chrome stable bot (#5768) 2021-03-09 19:19:21 -08:00
http.fixtures.ts test: failing test for websockets + offline context (#4912) 2021-03-29 20:24:12 -07:00
ignorehttpserrors.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
interception.spec.ts test: interception breaks remote importScripts (#5953) 2021-03-25 17:16:41 -07:00
launcher.spec.ts fix: kill browser if process doesnt exit for 30s after close (#5968) 2021-03-27 09:59:04 -07:00
logger.spec.ts chore: roll test fixtures, replace trace w/ video (#4129) 2020-10-13 13:18:36 -07:00
network-post-data.spec.ts test: add post data test with PUT request (#5745) 2021-03-06 07:15:02 -08:00
page-accessibility.spec.ts chore: restructure and optimise test files (#4736) 2020-12-16 07:28:44 -08:00
page-autowaiting-basic.spec.ts chore(evaluate): respect signals when evaluating on handle (#5847) 2021-03-17 12:03:21 -07:00
page-autowaiting-no-hang.spec.ts chore: restructure and optimise test files (#4736) 2020-12-16 07:28:44 -08:00
page-basic.spec.ts test: organize tests to not depend on context (#5878) 2021-03-18 16:20:35 -07:00
page-close.spec.ts feat(webkit): bump to 1378 (#4338) 2020-11-04 11:00:25 -08:00
page-drag.spec.ts test: organize tests to not depend on context (#5878) 2021-03-18 16:20:35 -07:00
page-emulate-media.spec.ts test: organize tests to not depend on context (#5878) 2021-03-18 16:20:35 -07:00
page-expose-function.spec.ts chore(evaluate): explicitly annotate methods that wait for signals (#5859) 2021-03-17 10:47:07 -07:00
page-focus.spec.ts chore: restructure and optimise test files (#4736) 2020-12-16 07:28:44 -08:00
page-goto.spec.ts feat(webkit): bump to 1457 (#6021) 2021-03-31 10:29:43 -07:00
page-history.spec.ts fix(reload): do not throw when reload is racing with navigation (#5113) 2021-01-22 15:58:53 -08:00
page-in-context.spec.ts test: organize tests to not depend on context (#5878) 2021-03-18 16:20:35 -07:00
page-keyboard.spec.ts test: disable shortcuts test on Firefox darwin (#5869) 2021-03-18 00:22:54 -07:00
page-mouse.spec.ts chore: migrate to Folio 0.3.17 (#5115) 2021-01-23 02:22:40 +03:00
page-navigation.spec.ts chore: restructure and optimise test files (#4736) 2020-12-16 07:28:44 -08:00
page-network-idle.spec.ts feat(firefox): roll Firefox to r1203 (#4365) 2020-11-05 23:17:27 -08:00
page-network-request.spec.ts chore: restructure and optimise test files (#4736) 2020-12-16 07:28:44 -08:00
page-network-response.spec.ts chore: restructure and optimise test files (#4736) 2020-12-16 07:28:44 -08:00
page-request-continue.spec.ts chore: spell overridden (#5605) 2021-02-24 15:11:34 -08:00
page-request-fulfill.spec.ts test: add more tests for Set-Cookie in fulfill (#5570) 2021-02-23 19:14:37 -08:00
page-screenshot.spec.ts test(resize): add a screenshot resize test (#5907) 2021-03-22 20:44:26 -07:00
pause.spec.ts fix(inspect): highlight on explore input change (#5726) 2021-03-09 07:44:10 -08:00
pdf.spec.ts test: roll test runner to 0.9.20 (#4062) 2020-10-05 17:03:24 -07:00
permissions.spec.ts chore: migrate to Folio 0.3.17 (#5115) 2021-01-23 02:22:40 +03:00
playwright.fixtures.ts chore: expose channel name literals for types (#5922) 2021-03-23 13:21:03 -07:00
popup.spec.ts test: improve test names (#5511) 2021-02-24 13:28:22 -08:00
proxy.spec.ts test(proxy): add a failing test for HTTPS proxy CONNECT User Agent (#5972) 2021-03-26 22:26:39 -07:00
queryselector.spec.ts chore: remove selectorsV2Enabled switch (#4880) 2021-01-04 15:32:31 -08:00
recorder.fixtures.ts feat(inspector): render errors (#5459) 2021-02-13 22:13:51 -08:00
remoteServer.fixture.ts infra(channel): wire release channel to all tests (#5820) 2021-03-15 08:07:57 -07:00
resource-timing.spec.ts chore: fix lint after #4517 (#4518) 2020-11-24 06:50:40 -08: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 api(video): implement video.saveAs and video.delete (#6005) 2021-03-31 10:38:05 -07:00
selector-generator.spec.ts fix(selectors): properly generate selectors for tricky ids (#5940) 2021-03-25 18:43:33 -07:00
selectors-css.spec.ts test: add a test for css selector being relative to the root handle (#5789) 2021-03-10 17:15:19 -08:00
selectors-misc.spec.ts test: add a test for css selector being relative to the root handle (#5789) 2021-03-10 17:15:19 -08:00
selectors-register.spec.ts feat(cli): bring selector generator into playwright (#4795) 2020-12-23 12:44:47 -08:00
selectors-text.spec.ts fix(text selector): revert quoted match to match by text nodes only (#5690) 2021-03-03 10:51:10 -08:00
slowmo.spec.ts chore: add websocket connection mode (#4510) 2020-11-20 15:19:39 -08:00
snapshotter.spec.ts feat(trace): highlight action target (#5776) 2021-03-10 11:43:26 -08:00
tap.spec.ts test(tap): unflake chromium headful tap tests (#4431) 2020-11-16 10:14:37 -08:00
tsconfig.json chore: refactor actionability checks (#5368) 2021-02-10 12:36:26 -08:00
utils.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
web-socket.spec.ts test: failing test for websockets + offline context (#4912) 2021-03-29 20:24:12 -07:00
workers.spec.ts feat(firefox): bump to 1205 (#4386) 2020-11-09 16:16:10 -08:00