playwright/test
Dominik Deren a3af0829ff
feat(trace viewer): Extending existing NetworkTab view (#5009)
feat(trace viewer): Extending existing NetworkTab view

Currently the network tab contains a limited amount of information on the resources that were loaded in the browser. This change proposes extending the details displayed for each resource, to include:

- HTTP method,
- Full url,
- Easily visible response content type,
- Request headers,
- Request & response bodies.

Such level of information could help quickly understand what happened in the application, when it was communicating with backend services. This can help debug tests quicker to figure out why they are failing.

This implementation still needs some clean up & tests improvement, but I wanted to propose such changes and gather your feedback before going too far.
2021-01-26 11:06:05 -08:00
..
__snapshots__ test: add a test for focused input screenshot (#5060) 2021-01-22 06:51:59 -08:00
android fix(electron): return a ChromiumBrowserContext for electron (#4913) 2021-01-13 12:08:14 -08:00
assets feat(trace viewer): Extending existing NetworkTab view (#5009) 2021-01-26 11:06:05 -08:00
chromium fix(extensions): do not enable screencast for background pages (#4919) 2021-01-06 15:08:28 -08:00
cli chore: plumb terminal size and port language (#5149) 2021-01-25 19:01:04 -08:00
electron fix(electron): return a ChromiumBrowserContext for electron (#4913) 2021-01-13 12:08:14 -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
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-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: do not return cookies with empty values (#5147) 2021-01-25 16:37:33 -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 chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
browsercontext-dsf.spec.ts link: make lint happy 2020-12-02 13:48:44 -08:00
browsercontext-expose-function.spec.ts chore: move recorder to server side (#5128) 2021-01-24 08:44:11 -08: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 chore: migrate to Folio 0.3.17 (#5115) 2021-01-23 02:22:40 +03:00
browsercontext-route.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
browsercontext-storage-state.spec.ts feat(storage): accept path in save/load storage apis (#4714) 2020-12-14 16:03:52 -08: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 test: fixed executable path test if ran in Docker (#4219) 2020-10-27 00:04:39 -07:00
browsertype-connect.spec.ts chore: migrate to Folio 0.3.17 (#5115) 2021-01-23 02:22:40 +03:00
browsertype-launch-server.spec.ts fix(connect): provide an error message when ws endpoint is incorrect (#4978) 2021-01-11 15:53:45 -08:00
browsertype-launch.spec.ts test: unflake some chromium tests (#4521) 2020-11-24 18:14:57 -08:00
capabilities.spec.ts test(chromium): disable webgl2 on headful (#4450) 2020-11-16 16:18:50 -08:00
channels.spec.ts chore: expose adb devices and actions (#4647) 2020-12-09 15:06:57 -08:00
checkCoverage.js feat(firefox): support WebSockets on Firefox (#4289) 2020-10-30 10:34:24 -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 fix(debug): do not generate source urls for anonymous scripts (#3691) 2020-11-13 14:47:55 -08:00
coverage.js feat(testrunner): allow unexpected passes (#3665) 2020-08-28 00:32:00 -07: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: migrate to Folio 0.3.17 (#5115) 2021-01-23 02:22:40 +03:00
download.spec.ts chore: add websocket connection mode (#4510) 2020-11-20 15:19:39 -08:00
downloads-path.spec.ts chore: roll folio to 0.3.11 (#4130) 2020-10-13 22:40:25 -07:00
elementhandle-bounding-box.spec.ts docs: improve boundingBox documentation (#4500) 2020-11-19 13:55:14 -08: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 api: add isChecked method (#4953) 2021-01-08 17:36:17 -08: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: migrate to Folio 0.3.17 (#5115) 2021-01-23 02:22:40 +03: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: migrate to Folio 0.3.17 (#5115) 2021-01-23 02:22:40 +03: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 api: add isVisible, isHidden, isEnabled, isDisabled and isEditable (#4915) 2021-01-08 12:27:54 -08: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
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: migrate to Folio 0.3.17 (#5115) 2021-01-23 02:22:40 +03:00
fixtures.ts feat(cli): make run-driver work (#4836) 2020-12-28 15:44:24 -08:00
frame-evaluate.spec.ts chore: add websocket connection mode (#4510) 2020-11-20 15:19:39 -08: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 fix(har): support har in persistent context (#4322) 2020-11-03 11:30:59 -08:00
headful.spec.ts feat(chromium): bump to 845618 (#5138) 2021-01-25 07:45:21 -08:00
http.fixtures.ts feat(proxy): enable per-context http proxy (#4280) 2020-10-29 16:12:30 -07:00
ignorehttpserrors.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
interception.spec.ts fix(chromium): make interception work with dedicated workers (#4658) 2020-12-10 15:04:57 -08: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 fix(handles): always create proper handle type (#4879) 2021-01-04 13:54:55 -08:00
jshandle-to-string.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
launcher.spec.ts chore: make generate_types not depend on the source (#5040) 2021-01-17 12:09:20 -08:00
logger.spec.ts chore: roll test fixtures, replace trace w/ video (#4129) 2020-10-13 13:18:36 -07:00
page-accessibility.spec.ts chore: restructure and optimise test files (#4736) 2020-12-16 07:28:44 -08: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-autowaiting-basic.spec.ts chore: restructure and optimise test files (#4736) 2020-12-16 07:28:44 -08: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 fix: add parameter to close/crash/disconnected etc events (#5098) 2021-01-22 09:58:31 -08:00
page-check.spec.ts api: add isChecked method (#4953) 2021-01-08 17:36:17 -08:00
page-click-react.spec.ts chore: restructure and optimise test files (#4736) 2020-12-16 07:28:44 -08:00
page-click-scroll.spec.ts chore: restructure and optimise test files (#4736) 2020-12-16 07:28:44 -08:00
page-click-timeout-1.spec.ts chore: restructure and optimise test files (#4736) 2020-12-16 07:28:44 -08:00
page-click-timeout-2.spec.ts chore: restructure and optimise test files (#4736) 2020-12-16 07:28:44 -08:00
page-click-timeout-3.spec.ts chore: restructure and optimise test files (#4736) 2020-12-16 07:28:44 -08:00
page-click-timeout-4.spec.ts chore: restructure and optimise test files (#4736) 2020-12-16 07:28:44 -08:00
page-click.spec.ts fix(scroll): scroll from under the sticky header (#4641) 2020-12-16 15:29:42 -08:00
page-close.spec.ts feat(webkit): bump to 1378 (#4338) 2020-11-04 11:00:25 -08:00
page-dialog.spec.ts chore: restructure and optimise test files (#4736) 2020-12-16 07:28:44 -08:00
page-dispatchevent.spec.ts feat(cli): bring selector generator into playwright (#4795) 2020-12-23 12:44:47 -08:00
page-drag.spec.ts chore: restructure and optimise test files (#4736) 2020-12-16 07:28:44 -08: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(webpack): minify injected sources (#4946) 2021-01-08 16:15:05 -08: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: migrate to Folio 0.3.17 (#5115) 2021-01-23 02:22:40 +03: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 test: fixed failing test on video bot (#4747) 2020-12-18 14:46:12 -08: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 fix(handles): always create proper handle type (#4879) 2021-01-04 13:54:55 -08:00
page-fill.spec.ts feat(fill): make fill work when targeting elements inside the label (#5143) 2021-01-25 13:40:19 -08:00
page-focus.spec.ts chore: restructure and optimise test files (#4736) 2020-12-16 07:28:44 -08:00
page-goto.spec.ts fix: don't parse potentially invalid urls in event handlers (#5090) 2021-01-25 14:49:51 -08: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-keyboard.spec.ts chore: restructure and optimise test files (#4736) 2020-12-16 07:28:44 -08: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: migrate to Folio 0.3.17 (#5115) 2021-01-23 02:22:40 +03:00
page-request-fulfill.spec.ts test(network): add failing test for Set-Cookie in fulfill (#4988) 2021-01-12 15:56:12 -08:00
page-route.spec.ts chore(eslint): add rule no-unused-expressions (#4848) 2020-12-29 09:59:35 -08:00
page-screenshot.spec.ts fix: throw if quality=0 is passed for png screenshot (#4812) 2020-12-23 09:53:14 -08:00
page-select-option.spec.ts fix(dom): make selectOption wait for options (#5036) 2021-01-19 11:27:05 -08: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-function.spec.ts chore: restructure and optimise test files (#4736) 2020-12-16 07:28:44 -08:00
page-wait-for-load-state.spec.ts test: fixed failing test on video bot (#4747) 2020-12-18 14:46:12 -08: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 feat(logs): add wrapApiCall for logging to many api methods (#5093) 2021-01-22 06:49:59 -08:00
page-wait-for-response.spec.ts feat(logs): add wrapApiCall for logging to many api methods (#5093) 2021-01-22 06:49:59 -08:00
page-wait-for-selector-1.spec.ts chore: restructure and optimise test files (#4736) 2020-12-16 07:28:44 -08:00
page-wait-for-selector-2.spec.ts chore: restructure and optimise test files (#4736) 2020-12-16 07:28:44 -08:00
pause.spec.ts chore: introduce debug toolbar (#5145) 2021-01-25 14:49:26 -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 api(videos): introduce a single recordVideo option bag (#4309) 2020-11-02 19:42:05 -08:00
popup.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
proxy.spec.ts chore: migrate to Folio 0.3.17 (#5115) 2021-01-23 02:22:40 +03:00
queryselector.spec.ts chore: remove selectorsV2Enabled switch (#4880) 2021-01-04 15:32:31 -08:00
remoteServer.fixture.ts fix(launchServer): wait for the server to start before taking its address (#4513) 2020-11-23 15:23:31 -08: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 test: update screencast test to actually require red color (#4745) 2021-01-05 20:31:50 -08:00
selector-generator.spec.ts chore: introduce debug toolbar (#5145) 2021-01-25 14:49:26 -08:00
selectors-css.spec.ts test: add test for multiple arguments in :has() (#5047) 2021-01-18 20:40:13 -08:00
selectors-misc.spec.ts feat(selectors): nth-match selector (#5081) 2021-01-21 16:39:49 -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 feat(selectors): has-text pseudo-class (#5120) 2021-01-25 14:19:07 -08:00
slowmo.spec.ts chore: add websocket connection mode (#4510) 2020-11-20 15:19:39 -08:00
tap.spec.ts test(tap): unflake chromium headful tap tests (#4431) 2020-11-16 10:14:37 -08:00
trace.spec.ts feat(trace viewer): Extending existing NetworkTab view (#5009) 2021-01-26 11:06:05 -08: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
web-socket.spec.ts fix: add parameter to close/crash/disconnected etc events (#5098) 2021-01-22 09:58:31 -08:00
workers.spec.ts feat(firefox): bump to 1205 (#4386) 2020-11-09 16:16:10 -08:00