Pavel Feldman
81ea40bb00
feat(inspector): add the copy selector button ( #9984 )
2021-11-02 15:48:48 -07:00
Andrey Lushnikov
62a01a41c6
feat: various docker integration improvements ( #9988 )
...
- shorter docker terminal message
- terminate testrunner if docker cannot be found
- use `-docker` suffix for snapshots / screenshots.
2021-11-02 13:58:26 -07:00
Pavel Feldman
6a30c90590
feat(trace-viewer): render wall time for each action ( #9982 )
2021-11-02 12:16:12 -07:00
Max Schmitt
bedb817a00
docs(test-runner): worker fixtures only in before/after-All ( #9967 )
2021-11-02 16:51:41 +01:00
Nick Partridge
a51ac39275
feat: add snapshotDir
to set base snapshot directory ( #9260 )
2021-11-02 08:02:49 -07:00
Andrey Lushnikov
92c9e9a079
chore: ignore grid version checks ( #9969 )
...
This is a preparation for docker dogfooding: since in our own repo,
we run tip-of-tree tests against stable @playwright/test, we have
different versions for Playwright and Grid.
In our case, these versions should always be close-enough, so we
can disregard safety version checks for our usecase.
2021-11-02 04:11:34 -07:00
github-actions[bot]
9b57f0ceb5
feat(firefox-beta): roll to r1302 ( #9955 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-11-02 02:49:18 -07:00
github-actions[bot]
d12457ca3c
feat(firefox): roll to r1300 ( #9958 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-11-02 02:48:58 -07:00
github-actions[bot]
87174e9ed7
feat(webkit): roll to r1570 ( #9954 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-11-02 09:32:00 +01:00
Pavel Feldman
56ca3a18f5
feat(trace-viewer): show test name ( #9957 )
2021-11-01 21:23:35 -07:00
Pavel Feldman
3673776330
Revert "chore(test-runner): use test name as trace file name prefix ( #9619 )" ( #9956 )
...
This reverts commit 3c420a7cf1
.
2021-11-01 20:27:41 -07:00
Pavel Feldman
85497c5509
feat(tracing): allow including source files in traces ( #9946 )
2021-11-01 19:57:29 -07:00
Andrey Lushnikov
d1b43fafd3
fix: a nicer lockfile message ( #9952 )
...
Fixes #9574
2021-11-01 17:48:18 -07:00
Yury Semikhatsky
13cc266b37
feat: add "commit" to possible waitUntil options ( #9892 )
2021-11-01 17:12:19 -07:00
Pavel Feldman
0221f1a4e0
fix(html): fix the mobile layout ( #9945 )
2021-11-01 16:47:07 -07:00
Dmitry Gozman
9cfbc0c171
chore(expect): simplify expect array edge cases ( #9942 )
2021-11-01 16:42:13 -07:00
Pavel Feldman
2bfbf65b8d
fix(html): strip ansi escaping from stdio ( #9944 )
2021-11-01 16:39:54 -07:00
github-actions[bot]
5d49c41a52
feat(firefox): roll to r1299 ( #9932 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2021-11-02 00:23:16 +01:00
github-actions[bot]
0495ce1ceb
feat(firefox-beta): roll to r1301 ( #9935 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-11-02 00:22:59 +01:00
Pavel Feldman
9ac8829583
feat(html): bake report zip into the html report, allow opening from fs ( #9939 )
2021-11-01 16:14:52 -07:00
Dmitry Gozman
4e52b64619
chore: simplify polls and evaluates in dom.ts ( #9941 )
2021-11-01 15:59:47 -07:00
Max Schmitt
a2c414cd88
chore: add Microsoft Edge Stable on Linux ( #9915 )
2021-11-01 22:03:51 +01:00
Dmitry Gozman
50f7477906
chore: use progress.continuePolling
instead of passing it around ( #9929 )
2021-11-01 13:57:13 -07:00
Pavel Feldman
d234030b9a
feat(html): allow projects with spaces, lax filter matching ( #9913 )
2021-11-01 10:53:58 -07:00
Pavel Feldman
d79aae633c
feat(html): render the suite name before test title ( #9909 )
2021-11-01 10:53:42 -07:00
Dmitry Gozman
4f1027bdd0
feat(test runner): introduce TestInfo.parallelIndex ( #9762 )
...
This is a worker number between `0` and `workers - 1` that
does not change after worker process restart.
2021-11-01 10:37:34 -07:00
Darío Kondratiuk
498894280b
docs(page): Document Page.reload ( #9926 )
2021-11-01 18:27:03 +01:00
Max Schmitt
3c420a7cf1
chore(test-runner): use test name as trace file name prefix ( #9619 )
2021-11-01 18:15:19 +01:00
Dmitry Gozman
13844a5b0a
feat(html reporter): open test details page when running a single test ( #9910 )
2021-11-01 09:54:53 -07:00
Pavel Feldman
1f907f0cfc
feat(html): render warning message when served off file:// ( #9908 )
2021-10-31 17:36:05 -07:00
Pavel Feldman
d6adff7792
fix(html): include html into the reporter types ( #9907 )
2021-10-31 11:06:28 -07:00
Dmitry Gozman
4ff69529d4
chore: detect document open for inspector ( #9901 )
...
To be used later for other global event listeners.
2021-10-30 16:06:52 -07:00
Pavel Feldman
bd505ed07c
fix(tracing): fall back to protocol naming in ports w/o apiName ( #9896 )
2021-10-30 12:26:38 -07:00
Dmitry Gozman
b244f035bc
chore: small cleanups around actions ( #9895 )
2021-10-29 22:27:57 -07:00
Pavel Feldman
94c33da946
feat(trace): throttle the screencast ( #9893 )
2021-10-29 18:20:17 -07:00
Pavel Feldman
8991bbde33
feat(html): live filtering, opt-out from auto-open ( #9889 )
2021-10-29 16:24:08 -07:00
Dmitry Gozman
49337890d2
docs: improve documentation for assertions and test config ( #9890 )
2021-10-29 15:25:52 -07:00
Max Schmitt
bff84c5391
fix: PowerShell execution policies ( #9885 )
2021-10-29 22:42:51 +02:00
Dmitry Gozman
227e3da62f
fix(test runner): do not reuse worker that did not teardown scopes ( #9872 )
...
Two bug fixes:
- Do not use the worker that is being shutdown for a new job.
- Report unhandled errors during "expected to fail" tests as
fatal errors.
2021-10-29 13:36:12 -07:00
Max Schmitt
dd1d3c3ed9
Revert "chore: migrate away from ps1 in install-deps on Windows ( #9876 )"
...
This reverts commit 59a406a586
.
2021-10-29 20:12:46 +02:00
Dmitry Gozman
cea61691fa
fix(connectOverCDP): ensure cleanup when remote ws closes ( #9873 )
2021-10-29 10:35:24 -07:00
Max Schmitt
59a406a586
chore: migrate away from ps1 in install-deps on Windows ( #9876 )
2021-10-29 19:32:56 +02:00
Pavel Feldman
0566af86e1
feat(html): add filter field ( #9874 )
2021-10-29 09:39:34 -07:00
github-actions[bot]
05e303e9e0
feat(webkit): roll to r1568 ( #9871 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-10-29 09:49:27 +02:00
Dmitry Gozman
e8c512dbeb
fix(cleanup): use rimraf.sync on process exit ( #9862 )
...
Currently we call async `removeFolders` from a synchronous
`process.on('exit')` handler, which should not work.
2021-10-28 19:28:16 -07:00
Yury Semikhatsky
1886897e5c
fix(matchers): support builtin types ( #9865 )
2021-10-28 18:45:59 -07:00
Pavel Feldman
75ac579fac
fix(toHaveCount): another edge case fix ( #9860 )
2021-10-28 16:04:21 -07:00
Pavel Feldman
2e4722d460
test: migrate to upstream fixtures ( #9835 )
2021-10-28 08:31:30 -07:00
github-actions[bot]
9af5aaabbb
feat(firefox): roll to r1298 ( #9848 )
2021-10-28 07:41:58 -07:00
github-actions[bot]
c2c61b0514
feat(firefox-beta): roll to r1300 ( #9846 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-10-28 14:16:13 +02:00
Andrey Lushnikov
f15ff0354b
fix: align default docker image download with the docker integration ( #9842 )
...
The docker image that we download should match the one we expect
while running tests in docker.
2021-10-28 02:15:26 -07:00
github-actions[bot]
3a83172785
feat(firefox-beta): roll to r1299 ( #9831 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-10-28 07:41:09 +02:00
Max Schmitt
0f54c2116b
chore(trace-viewer): add drag hover animation and be able to upload multiple times ( #9792 )
2021-10-28 07:38:22 +02:00
Pavel Feldman
16afb5064f
test: remove browserOptions ( #9829 )
2021-10-27 19:00:06 -07:00
github-actions[bot]
82609cd7bd
feat(webkit): roll to r1566 ( #9828 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-10-28 00:12:32 +02:00
Max Schmitt
fef5c38b3e
chore: remove Win/32bit from registry ( #9790 )
2021-10-27 23:48:17 +02:00
Dmitry Gozman
4743036bbe
fix: guard against undefined contexts ( #9826 )
...
We do not create contexts when we are unable to attribute them to a frame or they come from a stale oopif.
Async hop in the binding method can also cause the context to be destroyed already.
Reproduced with codegen.
2021-10-27 13:28:52 -07:00
Max Schmitt
be64b5f6e2
chore: add missing dynamic sdkLanguage based CLI invocations ( #9817 )
2021-10-27 18:58:13 +02:00
Pavel Feldman
31faa7d9a7
chore: sort out base fixtures ( #9809 )
2021-10-27 08:28:53 -07:00
github-actions[bot]
1c88079755
feat(chromium): roll to r934379 ( #9793 )
...
Co-authored-by: Max Schmitt <max@schmitt.mx>
2021-10-27 12:39:57 +02:00
Yury Semikhatsky
dd0dae623b
fix(fetch): ignoreHTTPSErrors after redirects ( #9806 )
2021-10-26 23:20:52 -07:00
Joel Einbinder
c8addef03a
fix(monorepo): export package.json from every package ( #9803 )
2021-10-26 18:41:18 -04:00
Dmitry Gozman
fac5da9517
docs: update console event snippet ( #9800 )
...
This avoids the confusion where arguments are printed
asynchronously, interleaved with other console messages.
2021-10-26 14:40:28 -07:00
Dmitry Gozman
22e4a0d580
fix(snapshots): --update-snapshots + retries should work ( #9799 )
2021-10-26 13:50:16 -07:00
Pavel Feldman
273122b761
chore: align internal test harness w/ @playwright/test ( #9796 )
2021-10-26 13:45:53 -07:00
Pavel Feldman
87c64b2c1c
chore: align client side instrumentations ( #9771 )
2021-10-26 11:13:35 -07:00
Pavel Feldman
5451808df1
chore: append sources to traces ( #9736 )
2021-10-25 18:56:57 -07:00
Dmitry Gozman
13ed1dee50
fix(test runner): do not mask uncaught error in beforeEach ( #9764 )
2021-10-25 14:17:27 -07:00
Pavel Feldman
2d4db7a6f0
fix(stack): hide test runner stack frames ( #9735 )
2021-10-25 11:49:59 -07:00
Dmitry Gozman
7527ad27d3
fix(snapshot): empty adopted stylesheet should not prevent node refs ( #9731 )
...
We never marked empty stylesheets as "stale", so we never computed
css text for them. This prevented node reuse, because empty string
is not equal to undefined.
2021-10-23 16:26:46 -07:00
Pavel Feldman
f08c22b467
fix(trace-viewer): show source files in local version ( #9732 )
2021-10-23 11:23:39 -07:00
Pavel Feldman
c890510d86
feat(traceviewer): show load progress ( #9726 )
2021-10-22 16:59:17 -07:00
Yury Semikhatsky
d183d364a0
fix(fetch): remove content-length from redirected post requests ( #9728 )
2021-10-22 16:52:49 -07:00
Dmitry Gozman
23aa0be15b
docs: update afterEach docs with an example ( #9727 )
...
Also add a test for TestInfo.status in afterEach.
2021-10-22 16:32:22 -07:00
Pavel Feldman
e2710451f3
fix(trace viewer): keep sw alive ( #9725 )
2021-10-22 15:14:58 -07:00
Joel Einbinder
940466f830
fix(npm): don't ship src in @playwright/test and ensure we ship cli.js in playwright-core
2021-10-22 16:15:57 -04:00
Joel Einbinder
f2888395a6
fix: support even older node 12 ( #9718 )
2021-10-22 15:59:52 -04:00
Dmitry Gozman
193c79a685
feat(test runner): rewrite dispatcher to avoid unneded stalls ( #9629 )
...
In some circumstances, dispatcher was waiting for all exisitng jobs
to finish before scheduling a new one. This leads to unneded stalls.
Instead, we can schedule jobs right away, if we have a worker
available.
2021-10-22 11:10:37 -07:00
Max Schmitt
e17dbe8d01
chore: pin expect package ( #9713 )
2021-10-22 08:07:33 -07:00
Pavel Feldman
d1ae6fdfdd
feat(trace): add drop trace here label ( #9698 )
2021-10-22 08:00:34 -07:00
Max Schmitt
60939a91b2
devops: release create-playwright over publish infra ( #9683 )
2021-10-22 10:13:49 +02:00
Max Schmitt
94d1fcf835
chore: move create-playwright build to build.js infra ( #9687 )
...
Co-authored-by: Joel Einbinder <joel.einbinder@gmail.com>
2021-10-22 10:13:05 +02:00
Pavel Feldman
ea7a294924
fix(trace-viewer): restore dragndrop ( #9697 )
2021-10-21 22:06:24 -07:00
Pavel Feldman
6a3e08d1ac
fix(reporter): fix locator stacks to hide internal detail ( #9693 )
2021-10-21 16:10:47 -07:00
Pavel Feldman
299dffbdb3
fix(expect): fix toHaveCount(0) ( #9690 )
2021-10-21 14:46:54 -07:00
Max Schmitt
da464cfe0c
chore(create-playwright): fix CI ( #9685 )
2021-10-21 21:06:28 +02:00
Pavel Feldman
c21d6b791c
chore: fix the route(times) to disable interception ( #9671 )
2021-10-21 11:23:49 -07:00
Max Schmitt
dd5364e445
feat(create-playwright): add option to add examples ( #8963 )
2021-10-21 20:21:50 +02:00
Pavel Feldman
f853176df3
fix(html): allow serving html report w/ traces off relative path ( #9668 )
...
Fixes #9652
2021-10-20 17:52:13 -07:00
Andrey Lushnikov
962525b592
fix(trace-viewer): do not show negative time in action duration ( #9669 )
2021-10-20 17:26:35 -07:00
Andrey Lushnikov
a9bf96e1bd
fix(trace-viewer): fix action icons to be always visible ( #9666 )
2021-10-20 14:44:32 -07:00
Pavel Feldman
225145fc3e
fix(expect): do not fail on navigated frames while polling ( #9659 )
2021-10-20 13:01:05 -07:00
Pavel Feldman
b6a9a8a34a
Revert "chore: print global errors when running html report ( #9657 )" ( #9661 )
...
This reverts commit 68c9fce507
.
2021-10-20 12:51:12 -07:00
Andrey Lushnikov
6b1767efbb
chore: cut v1.16.0 branch ( #9656 )
2021-10-20 12:44:32 -07:00
Pavel Feldman
68c9fce507
chore: print global errors when running html report ( #9657 )
2021-10-20 11:57:21 -07:00
Pavel Feldman
b3b5497578
chore(html): allow serving from a subfolder ( #9653 )
2021-10-20 10:35:49 -07:00
Dmitry Gozman
fb421e0a65
feat(github reporter): update docs, strip ansi escapes ( #9640 )
2021-10-20 07:56:03 -07:00
Pavel Feldman
4423de9996
chore: speed up snippet generation 50 times ( #9638 )
2021-10-19 21:10:14 -07:00
Andrey Lushnikov
983cfde4d4
feat: introduce docker integration for Playwright Test ( #9599 )
2021-10-19 16:10:24 -07:00
Pavel Feldman
ba57be99a9
fix(infobar): account for infobar in headed mode ( #9627 )
2021-10-19 15:36:17 -07:00