1
1
mirror of https://github.com/microsoft/playwright.git synced 2024-12-15 06:02:57 +03:00
Commit Graph

1612 Commits

Author SHA1 Message Date
sand4rt
d9850e0e86
feat(ct): react rerender () 2022-08-16 10:47:33 -07:00
Yury Semikhatsky
4dcb492ef0
fix: make viewer reference all trace urls ()
Single trace viewer page may render several traces, count it as a client for each of the trace files.

Fixes 
2022-08-15 20:54:57 -07:00
Pavel Feldman
e64b09cc28 Revert "feat(ct): react rerender ()"
This reverts commit a62accf8ae.
I'll reapply them in order.
2022-08-15 13:17:15 -07:00
sand4rt
a62accf8ae
feat(ct): react rerender () 2022-08-15 13:10:38 -07:00
Max Schmitt
13596b7be3
chore: language specific dropdowns in codegen () 2022-08-15 19:44:46 +02:00
Pavel Feldman
bd06d1604f
chore: render original exception location in error frame () 2022-08-15 09:28:55 -07:00
Elizaveta Bezyaikna
9f22ae9aa9
chore: add id for each test to JSONReporter () 2022-08-15 09:28:21 -07:00
Max Schmitt
09e6bb9c0f
chore: sunset Node.js 12 () 2022-08-15 18:10:04 +02:00
Playwright Service
0a70c624d6
feat(firefox): roll to r1345 ()
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-15 07:58:06 -07:00
Playwright Service
65acaf6b59
feat(firefox-beta): roll to r1347 ()
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-15 07:57:17 -07:00
Max Schmitt
420f5f5a0a
feat(chromium-tip-of-tree): roll to 1033 () 2022-08-15 11:09:18 +02:00
Max Schmitt
9acfe2d469
feat(chromium): roll to 1020 () 2022-08-15 10:21:24 +02:00
Max Schmitt
435272248f
docs(dotnet): PowerShell install enhancements () 2022-08-14 20:01:00 +02:00
Dmitry Gozman
3ae50861a3
fix(reload): make sure reload() does not pick same-document navigaiton ()
We lack `documentId` when doing a reload over browser protocols, so
`reload()` waits for the next navigation to finish. Sometimes, the page
might issue a same-document navigation while reload is in progress,
which confuses the reload command.

To fix the issue, just ignore same-document navigations for reload,
because it is always a new document.
2022-08-12 13:48:47 -07:00
Pavel Feldman
e1d3246d1c
fix(ct): pass local config to preview () 2022-08-12 10:37:35 -07:00
Dmitry Gozman
3dc1920ce8
feat(expect): toHaveText/toContainText work with text in shadow dom () 2022-08-11 14:10:12 -07:00
Pavel Feldman
fce45210c1
feat(driver): report backend state () 2022-08-11 13:42:16 -07:00
Dmitry Gozman
51076d55ad
chore: move retargeting from expectHitTarget to retarget ()
This aligns all retargeting in a single place, so that we
can pass around "retarget strategy" to make sure we retarget
as expected in every single action.
2022-08-11 13:06:12 -07:00
Johannes Loher
3e67a7c836
feat(plugins): send accept header in webServer url checking () 2022-08-10 12:48:37 -07:00
Yury Semikhatsky
d0030a7434
docs: test.step return value () 2022-08-10 11:21:13 -07:00
Pavel Feldman
c84fbc2e4e
feat(driver): add reuse and navigate commands () 2022-08-10 10:57:28 -07:00
jfgreffier
fb91f829d7
chore: listen on localhost for html report () 2022-08-10 11:05:31 +02:00
Max Schmitt
699a52ec74
fix(codegen): make sure input recording with japanese IME Work ()
Co-authored-by: kawasaki.taiga <kigtaiga@gmail.com>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2022-08-10 09:46:30 +02:00
Playwright Service
1059fe5c62
feat(chromium-tip-of-tree): roll to r1032 ()
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-10 09:26:49 +02:00
Dmitry Gozman
baa2ef2700
fix(test runner): show interrupted as yellow ()
Drive-by: fix unreadable character in "duplicate titles" error.
2022-08-09 21:17:30 -07:00
Dmitry Gozman
f58c376443
fix(test runner): do not resolve relative imports through baseUrl () 2022-08-09 21:16:27 -07:00
Andrey Lushnikov
0c7f086096
chore: cut v1.25 branch () 2022-08-09 17:09:58 -07:00
Yury Semikhatsky
11391910e7
Revert "fix(codegen): make sure input recording with japanese IME Wor… ()
Revert "fix(codegen): make sure input recording with japanese IME Work ()"

This reverts commit 925de8da2b.
2022-08-09 16:47:32 -07:00
Pavel Feldman
737975bc7d
chore: expose hidehighlight from server () 2022-08-09 16:42:55 -07:00
YA2KM
925de8da2b
fix(codegen): make sure input recording with japanese IME Work ()
Co-authored-by: kawasaki.taiga <kigtaiga@gmail.com>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2022-08-10 01:02:42 +02:00
Ross Wollman
a3d99f1b4a
chore: trace viewer fallback error ()
Fixes .
2022-08-09 15:53:11 -07:00
Max Schmitt
ff5f241b84
chore: set --allow-pre-commit-input flag on Android/Electron () 2022-08-09 23:18:15 +02:00
Dmitry Gozman
2efe947dc8
chore: avoid evaluates in screenshot on failure () 2022-08-09 14:03:07 -07:00
Playwright Service
fa9c20c959
feat(webkit): roll to r1699 () 2022-08-09 12:28:55 -07:00
Yury Semikhatsky
d048822c58
docs: deprecate Page.accessibility () 2022-08-09 12:26:43 -07:00
Max Schmitt
e725b5f8a9
fix(esm): fix TS type check with NodeNext mode () 2022-08-09 20:06:06 +02:00
Kian-Meng Ang
22f0723c72
docs: fix typos in docs ()
Co-authored-by: Debbie O'Brien <debs-obrien@users.noreply.github.com>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2022-08-09 15:47:17 +02:00
Pavel Feldman
c99d6cdd4c
chore: enable reused browser autoclose () 2022-08-08 17:16:13 -07:00
Dmitry Gozman
0fa20d5d1e
fix(click): make it work for display:contents elements ()
After protocol fixes in all browsers, we can now scroll and click display:contents elements.
The only problem is that `elementsFromPoint()` misbehaves in Chromium and Firefox, so we
need a workaround. Hopefully, it will be fixed upstream - shadow dom spec folks think
"it becomes a real compatibility concern".

This needs Chromium 105 roll.
2022-08-08 16:05:09 -07:00
Ross Wollman
36b92d8847
fix: toBeFocused should match shadow elements ()
Fixes .
2022-08-08 15:34:58 -07:00
Max Schmitt
1ca6635bb8
fix(cli): store trace/storage/har on SIGINT () 2022-08-09 00:13:38 +02:00
Max Schmitt
57fcb590f7
chore: hide stackTrace.js from recorded frames () 2022-08-08 23:27:59 +02:00
Ross Wollman
dd39ae0b85
chore: use default export across packages () 2022-08-08 13:30:07 -07:00
Jeremy Daley
ee02afdd9b
chore: add fallback "default" key to "." exports object ()
Fixes .
2022-08-08 12:19:15 -07:00
Pavel Feldman
2d7c003ada
chore: minor inspect tweaks () 2022-08-08 10:39:54 -07:00
Playwright Service
a93981d052
feat(firefox-beta): roll to r1343 () 2022-08-08 10:01:49 -07:00
Playwright Service
b32f13298f
feat(firefox): roll to r1344 () 2022-08-08 10:01:07 -07:00
Pavel Feldman
a2e05bb419
fix(ct): use stoppable server () 2022-08-08 08:54:56 -07:00
Playwright Service
53917f43e1
feat(chromium): roll to r1019 ()
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2022-08-07 15:32:38 +02:00
Dmitry Gozman
f6d94f0ac9
chore: update "X fatal errors" message ()
Also, exlude certain errors from triggering this message:
- `no tests found`
- `duplicate test titles are not allowed`
- `--forbid-only found a focused test`
- `Timed out waiting 3600s for the entire test run`
2022-08-05 21:21:43 -07:00