Pavel Feldman
9550106e1d
fix(test-runner): video: 'retain-on-failure' leaves empty folders behind ( #7125 )
2021-06-15 10:06:49 -07:00
Anže Vodovnik
66f9aeee17
chore: use .Core namespace for dotnet ( #7103 )
2021-06-15 11:47:24 +02:00
Andrey Lushnikov
cff04abb5e
devops: support manual trigger for chromium-with-symbols bubild
2021-06-15 00:36:15 -08:00
Andrey Lushnikov
bf9e9bece9
devops: trigger chromium-with-symbols release on every Release ( #7132 )
...
References #7130
2021-06-15 01:22:31 -07:00
Andrey Lushnikov
bb5da5061c
devops: support building chromium with symbols ( #7131 )
...
References #7130
2021-06-15 01:18:00 -07:00
Max Schmitt
a37056fe1c
chore: add dummy playwright-test package for GitHub Dependents ( #7134 )
2021-06-15 10:16:48 +02:00
Max Schmitt
48c3691dca
docs(test-runner): add note about launchOptions and contextOptions ( #7133 )
2021-06-15 10:11:15 +02:00
Andrey Lushnikov
58878b584a
devops: introduce repack-juggler
script ( #7092 )
...
This patch adds a new script -
`//browser_patches/firefox/repack-juggler.mjs`
This script lets you test Firefox changes if they are Juggler-specific
without firefox checkout / compilation.
The `repack-juggler.mjs` script does the following:
- downloads the latest build of Firefox-with-juggler
- finds an `omni.ja` file with Juggler files inside
- replaces juggler in omni.ja with the current juggler files in the index
2021-06-15 01:08:13 -07:00
Ross Wollman
195eab8787
feat(har): record remote IP:PORT and SSL details ( #6631 )
2021-06-15 09:48:08 +02:00
Dmitry Gozman
742cce3a1d
feat(test runner): configurable reportSlowTests ( #7120 )
...
Also splits tests by projects and reports them with nice relative paths.
2021-06-14 22:45:58 -07:00
Joel Einbinder
aa72b2b9bb
fix(pwt): max-failures should work with retries ( #7127 )
...
fixes #7112
2021-06-14 22:16:16 -07:00
Dmitry Gozman
2041aab010
fix(chromium): background pages on persistent close error ( #7118 )
...
This is a speculative fix that moves "background pages cleanup"
to `_didCloseInternal` so that it is only run once, but on both
context closure and browser closure.
Symptom from a flaky test:
```log
browserContext.close: page@18087c372d32819222707ca5e8fd1030 is sending "close" event after being disposed
at PageDispatcher._dispatchEvent (D:\a\playwright\playwright\src\dispatchers\dispatcher.ts:86:15)
at Page.<anonymous> (D:\a\playwright\playwright\src\dispatchers\pageDispatcher.ts:59:12)
at Page.emit (events.js:314:20)
at Page._didClose (D:\a\playwright\playwright\src\server\page.ts:220:10)
at CRPage.didClose (D:\a\playwright\playwright\src\server\chromium\crPage.ts:165:16)
at CRBrowserContext._onClosePersistent (D:\a\playwright\playwright\src\server\chromium\crBrowser.ts:476:24)
at CRBrowserContext.close (D:\a\playwright\playwright\src\server\browserContext.ts:288:20)
```
2021-06-14 21:55:55 -07:00
Pavel Feldman
970bb6a70d
feat(test-runner): allow setting pixel match threshold for project ( #7123 )
2021-06-14 21:52:10 -07:00
Dmitry Gozman
060f7ffa92
fix: specify the right apiName for artifact errors ( #7119 )
...
This produces errors like `download.saveAs: <error>` instead of `.saveAs: <error>`.
Drive-by: fix the flaky test.
2021-06-14 16:41:53 -07:00
Dmitry Gozman
cc186be9a9
test: unflake two tests ( #7115 )
2021-06-14 16:01:18 -07:00
Max Schmitt
a3a9ccad6f
fix(test-runner): do not require esModuleInterop=true ( #7100 )
2021-06-14 21:58:10 +02:00
Max Schmitt
604cf2b89f
roll(test-runner): to 1.13.0-next-alpha-jun-14-2021 ( #7111 )
2021-06-14 20:30:42 +02:00
Max Schmitt
64b23040dc
chore: use new links in generated types ( #7102 )
2021-06-14 17:13:28 +02:00
Max Schmitt
dbf779b734
docs(test-runner): move slowMo to launchOptions ( #7098 )
2021-06-14 17:12:53 +02:00
Max Schmitt
ad5280e5cb
fix(trace-viewer): display trace without viewport ( #7101 )
2021-06-14 17:11:30 +02:00
Andrew Hampton
1448f60547
docs: fix typo in Trace Viewer documentation ( #7105 )
2021-06-14 07:57:37 -07:00
Max Schmitt
1be687e478
docs(dotnet): fixed broken screenshot example ( #7090 )
2021-06-14 15:39:58 +02:00
Lisa
d7c0ddaeb0
docs(python): add missing closing parenthesis ( #7089 )
2021-06-14 10:43:08 +02:00
Peng-Yu Chen
5f6d4a7b73
feat(download): adding a new Download._cancel
method ( #6236 )
2021-06-12 22:23:22 +02:00
Max Schmitt
2b8ea73048
docs(test-runner): fixed wrong function calls ( #7080 )
2021-06-11 16:20:13 -07:00
Andrey Lushnikov
8a8b3932f8
Revert "fix(test-runner): support passing slowMo option ( #6991 )" ( #7077 )
...
This reverts commit 178489d091
.
Reason for revert: this clashes with testrunner options.
2021-06-11 16:19:50 -07:00
Andrey Lushnikov
d6831df26f
feat: roll Firefox to r1271 ( #7067 )
...
References #7015
2021-06-11 10:50:02 -07:00
Yury Semikhatsky
c903b04c7a
feat(webkit): bump to 1499 ( #7001 )
2021-06-11 09:35:48 -07:00
Andrey Lushnikov
afa9d69b63
test: fix installation tests ( #7069 )
...
This was regressed by 3b1bae8a40
2021-06-11 13:56:41 +02:00
Andrey Lushnikov
eda097f5e5
devops: fix Firefox build on Apple Silicon ( #7068 )
2021-06-11 02:04:08 -07:00
Pavel Feldman
49a8f67c0f
fix(test-runner): resolve global hooks relative to the config dir ( #7061 )
2021-06-10 22:31:27 -07:00
Pavel Feldman
cbce7cbdec
fix(tracing): do not stall on dialogs ( #7059 )
2021-06-10 22:24:04 -07:00
Pavel Feldman
e4d93cd1f3
fix(video): do not fail when removing non-existent video ( #7060 )
2021-06-10 22:23:02 -07:00
Andrey Lushnikov
f52290d4ea
Revert "feat: add defaultTimeout browser context configuration option ( #6944 )" ( #7057 )
...
This reverts commit 617dfdef9e
.
It turns out this might conflict with our bright testrunner future.
2021-06-10 18:38:56 -07:00
Amit Abershitz
617dfdef9e
feat: add defaultTimeout browser context configuration option ( #6944 )
...
Fixes #6940
Co-authored-by: Amit Abershitz <aabershitz@proofpoint.com>
Co-authored-by: Andrey Lushnikov <aslushnikov@gmail.com>
2021-06-10 18:10:20 -07:00
Max Schmitt
9b9091b3fe
browser(firefox): fixed Array.prototype.toJSON workaround ( #7018 )
...
References #7015
2021-06-10 17:21:20 -07:00
Pavel Feldman
3b1bae8a40
feat(codegen): allow generating tests ( #7049 )
2021-06-10 16:52:59 -07:00
Yury Semikhatsky
ab4398e60a
browser(webkit): initialize fetchStart in Curl to fix network metrics ( #7052 )
2021-06-10 16:06:30 -07:00
Pavel Feldman
1479610abd
docs: start adding an API cheat sheet ( #7045 )
2021-06-10 13:43:42 -07:00
Max Schmitt
5157f74bcc
test: toJSON property for Arrays after evaluation in FF ( #7016 )
2021-06-10 10:53:30 -07:00
Max Schmitt
13b6d0153d
docs: change wording from C# to .NET ( #7021 )
2021-06-10 18:16:10 +02:00
Max Schmitt
54d5978026
docs: added extensions page ( #7010 )
2021-06-10 16:48:16 +02:00
Max Schmitt
05382c997b
fix(test-runner): do only match JS/TS files when collecting ( #7014 )
2021-06-10 16:41:57 +02:00
Pavel Feldman
144ef2a72d
docs: add reuse auth in test runner example ( #7006 )
2021-06-09 19:26:09 -07:00
Pavel Feldman
e0150338ac
docs: fix the global setup example ( #7005 )
2021-06-09 17:39:49 -07:00
Yury Semikhatsky
e625e17dc3
docs(api): add env option to Playwright.create in Java ( #7002 )
2021-06-09 15:05:51 -07:00
Andrey Lushnikov
3c7d2aae6a
fix: add best-effort support for MacOS beta versions ( #7003 )
...
Similarly to how we provide best-effort support for non-LTS ubuntu
versions, this patch adds support for beta versions of MacOS releases.
2021-06-09 14:58:20 -07:00
Max Schmitt
178489d091
fix(test-runner): support passing slowMo option ( #6991 )
...
Fixes #6984
Reverts #6967
2021-06-09 14:02:05 -07:00
Pavel Feldman
5093e4e804
docs: add playwright test clarification ( #6993 )
2021-06-09 12:34:58 -07:00
Pavel Feldman
19d69b792d
fix(tracing): do not merge srcset urls ( #6995 )
...
Fixes #6982
2021-06-09 12:05:21 -07:00