Commit graph

7055 commits

Author SHA1 Message Date
Pavel Feldman bc71d20d0f
feat(request): add global request fixture (#9332) 2021-10-06 10:09:27 -07:00
Pavel Feldman 9b7e02b88b
test: add a couple more route+headers tests (#9322) 2021-10-06 09:35:54 -07:00
Yury Semikhatsky ab879fecd6
fix(api): make storageState option type same as context.storageState (#9333) 2021-10-06 09:02:41 -07:00
Max Schmitt 480e5a69e8
docs(browsers): fix missing JS snippets (#9339) 2021-10-06 17:43:31 +02:00
Pavel Feldman e8fdbbfa03
api: alias Fetch as ApiRequest (#9330) 2021-10-05 18:53:19 -07:00
Yury Semikhatsky 0a7b54abc3
test: set content-type to make test pass (#9331) 2021-10-05 18:30:07 -07:00
Ross Wollman dbc3c11b8e
test: responseSize incorrect for 404 with content (#9328) 2021-10-05 17:40:08 -07:00
Yury Semikhatsky 0469a7552b
fix(fetch): do not allow to call get/post with request (#9326) 2021-10-05 16:36:15 -07:00
Yury Semikhatsky cd235a187e
browser(webkit): fix curl compilation after recent changes (#9327) 2021-10-05 15:17:19 -07:00
Andrey Lushnikov 8418fc3a8e
chore: update WebKit user agent (#9302) 2021-10-05 14:06:05 -07:00
Yury Semikhatsky 701a97beca
chore(fetch): unprefix _request and _newRequest (#9325) 2021-10-05 13:56:34 -07:00
Yury Semikhatsky 431aa5c9b3
browser(webkit): align set-cookie handling on mac with other platforms (#9321) 2021-10-05 12:51:08 -07:00
Yury Semikhatsky ec7ae4e96b
browser(webkit): respect first party url in intercepted set-cookie (soup) (#9320) 2021-10-05 12:25:48 -07:00
Max Schmitt 97b6a344ac
docs: add docs page for how to parameterize your tests (#9291)
Co-authored-by: Pavel Feldman <pavel.feldman@gmail.com>
Co-authored-by: Joel Einbinder <joel.einbinder@gmail.com>
2021-10-05 20:22:16 +02:00
Yury Semikhatsky 61480e6f1d
browser(webkit): handle set-cookie from intercepted request (Cocoa) (#9304) 2021-10-04 22:18:30 -07:00
Yury Semikhatsky 0c34ec6e9f
browser(webkit): set-cookie from intercepted response(CURL) (#9303) 2021-10-04 18:04:50 -07:00
Pavel Feldman f63af830de
feat(test-runner): allow parametrized tests that don't extend base (#9301) 2021-10-04 17:16:33 -07:00
Pavel Feldman 6e803f7186
fix(route): allow allHeaders call within route (#9300) 2021-10-04 16:10:16 -07:00
Yury Semikhatsky 59532d05ea
browser(webkit): support set-cookie in intercepted response(SOUP) (#9273) 2021-10-04 13:41:33 -07:00
Samuel Maddock 1b83f3eaec
fix(electron): browser window ids out of sync (#8759) 2021-10-04 13:19:57 -07:00
Yury Semikhatsky c516729544
fix(interception): make set-cookie work in chromium (#9299) 2021-10-04 13:19:05 -07:00
github-actions[bot] 4171dfb57f
feat(chromium): roll to r927453 (#9294)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-10-04 18:34:59 +02:00
Sidharth Vinod 96dbee8208
chore: fix reuseBrowserContextStorage spelling typo (#9296) 2021-10-04 18:32:50 +02:00
Sidharth Vinod f4cbd9d574
test: remove checking duration in github reporter to reduce flakiness 2021-10-04 15:53:26 +02:00
Max Schmitt e859a6996a
docs: fix wrongly annotated JS only paragraph (#9290) 2021-10-04 15:46:52 +02:00
Max Schmitt a280a17157
docs: add tabs for shell scripts (#9289) 2021-10-04 15:45:52 +02:00
Anish Karandikar 92c1aa20a7
docs(reporters): clarify dot reporter is default on CI (#9074) 2021-10-04 14:50:55 +02:00
Diego Pino ff02184acf
browser(webkit): roll to 2021/09/30 (#9288) 2021-10-04 13:49:34 +02:00
github-actions[bot] 6918c25b30
browser(chromium): roll to r927453 (#9285)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-10-04 12:07:40 +02:00
Sidharth Vinod ec5e7495df
types(test-runner): Add github to built in reporters (#9283) 2021-10-04 11:31:26 +02:00
Yevhen Laichenkov 19715300b3
fix(create-playwright): add extra -- for the debug script (#9257)
Co-authored-by: Max Schmitt <max@schmitt.mx>
2021-10-04 10:55:29 +02:00
Sidharth Vinod be30f9f1c4
feat(test-runner): Add GitHub Actions reporter (#9191) 2021-10-04 10:32:56 +02:00
Max Schmitt 771dd83c16
fix: installation with folders which contain spaces (#9275) 2021-10-04 10:25:15 +02:00
Pavel Feldman 913821f675
chore: roll Electron to 12.2.1 (#9271) 2021-10-01 19:40:47 -07:00
Dmitry Gozman edf07949be
test: use separate Playwright instance to automate inspector (#9270)
This will prevent inspector from picking up test actions.
2021-10-01 17:06:13 -07:00
Dmitry Gozman 080e372a4f
feat(inspector): use chrome/msedge when chromium is not available (#9269)
Drive-by: language-specific error message.
2021-10-01 17:06:00 -07:00
Yury Semikhatsky 1b4adfb916
fix(webkit): deduce response mime type from content-type (#9264) 2021-10-01 13:04:03 -07:00
Yury Semikhatsky 235eaca34a
fix(fetch): use data, form and multipart for different post data (#9248) 2021-10-01 12:11:33 -07:00
Dmitry Gozman f3648a66a3
chore: split ContextRecorder from inspector (#9250) 2021-10-01 12:07:35 -07:00
Nick Partridge b126a5685b
feat: add path option to toMatchSnapshot (#9156) 2021-10-01 09:15:44 -07:00
Sidharth Vinod 3296c21a80
feat(cli): Support trace file URLs (#9030) 2021-10-01 07:08:41 -07:00
Diego Pino 46b5c81f82
browser(webkit): roll to 23/09/21 (#9107) 2021-10-01 16:03:13 +02:00
github-actions[bot] 131e26c65e
feat(chromium): roll to r926934 (#9259)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-10-01 15:57:19 +02:00
github-actions[bot] 94a9691122
browser(chromium): roll to r926934 (#9255)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-10-01 12:07:11 +02:00
Max Schmitt 1302e10637
test: fix 'should fulfill with fetch result and overrides' test (#9252) 2021-10-01 09:47:04 +02:00
Max Schmitt e674d873a3
feat(test-runner): add reuse context mode to share a single context between tests (#9115) 2021-10-01 09:16:03 +02:00
Sidharth Vinod 2cf3448b6b
fix(docs): test-runner location column type (#9222) 2021-10-01 08:53:59 +02:00
Dmitry Gozman 5e3ad63b42
fix(test runner): do not write missing snapshot until the last retry (#9246)
This prevents future retries from passing because of the actual
snapshot being written.

In theory, we can avoid running the retry since it should fail anyway.
However, this brings problems, for example in the `describe.serial` mode
where running a test also has some side effects and so it should not be
skipped. Since running a test without a snapshot is rare, it should be
fine to retry it.
2021-09-30 16:44:52 -07:00
Sidharth Vinod fcb7d2b15a
feat(reporters): Add error position to JSON Report (#9151) 2021-09-30 14:18:36 -07:00
Yury Semikhatsky 4e372dccb5
feat(fetch): import/export storageState (#9244) 2021-09-30 14:14:29 -07:00