Commit Graph

8527 Commits

Author SHA1 Message Date
Ross Wollman
dd39ae0b85
chore: use default export across packages (#16360) 2022-08-08 13:30:07 -07:00
Yury Semikhatsky
7f9937bd67
browser(webkit): fix libpas and bmalloc link errors (#16361)
Patch by @dpino 
Fixes the following error on Ubuntu 18:
```
[716/8153] Linking CXX shared library lib/libmbmalloc.so
FAILED: lib/libmbmalloc.so 
: && <CXX> -fPIC -fdiagnostics-color=always -Wextra -Wall -pipe -Wno-odr -Wno-stringop-overflow -Wno-nonnull -Wno-array-bounds -Wno-expansion-to-defined -Wno-noexcept-type -Wno-psabi -Wno-misleading-indentation -Wno-maybe-uninitialized -Wwrite-strings -Wundef -Wpointer-ari>
/usr/bin/ld: Source/bmalloc/CMakeFiles/bmalloc.dir/libpas/src/libpas/pas_deallocate.c.o: relocation R_X86_64_PC32 against symbol `pas_segregated_page_deallocation_did_fail' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
```

Pretty-diff: a479046919
2022-08-08 12:32:19 -07:00
Jeremy Daley
ee02afdd9b
chore: add fallback "default" key to "." exports object (#16350)
Fixes #16345.
2022-08-08 12:19:15 -07:00
Pavel Feldman
2d7c003ada
chore: minor inspect tweaks (#16334) 2022-08-08 10:39:54 -07:00
Playwright Service
a93981d052
feat(firefox-beta): roll to r1343 (#16327) 2022-08-08 10:01:49 -07:00
Playwright Service
b32f13298f
feat(firefox): roll to r1344 (#16328) 2022-08-08 10:01:07 -07:00
Julian Verdurmen
5fc1a0beca
docs: Added the parent locator (..) (#16245) 2022-08-08 09:09:45 -07:00
Pavel Feldman
a2e05bb419
fix(ct): use stoppable server (#16329) 2022-08-08 08:54:56 -07:00
Max Schmitt
d21f06d650
docs: mention test-runner docs in library docs (#16348) 2022-08-08 17:05:56 +02:00
Playwright Service
53917f43e1
feat(chromium): roll to r1019 (#16335)
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
Tim Deschryver
cf2c964e3f
docs(dotnet): make access modifiers consistent (#16331) 2022-08-07 15:04:08 +02:00
github-actions[bot]
52f9e64e72
browser(chromium): roll to 2022-Aug-06 (#16330)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-06 22:20:10 +02:00
Dmitry Gozman
f6d94f0ac9
chore: update "X fatal errors" message (#16325)
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
Pavel Feldman
8ed238843b
chore: allow inspecting element from server (#16324) 2022-08-05 19:34:57 -07:00
Debbie O'Brien
850e14eccf
docs: what you will learn section (#16314) 2022-08-05 18:42:32 -07:00
Debbie O'Brien
ba574637a6
docs: what you will learn section (#16318) 2022-08-05 18:41:23 -07:00
Yury Semikhatsky
02aa31048c
browser(firefox): cross thread sync in screencast (#16320)
* nsIScreencastServiceClient is not thread safe refcounted so we make nsScreencastService::Session a thread safe refcounted object and keep it alive while there are inflight frames. Once such frames get handled on the main thread we check if the session has been stopped.
* Removed mCaptureCallbackCs in favor of atomic counter (mClient is not accessed only on the main thread).
* HeadlessWindowCapturer now holds RefPtr to the headless window object to avoid use after free when clearing it as a listener on the widget.
* ScreencastEncoder is not ref counted anymore.

Pretty-diff: 5f5042ff1e
2022-08-05 15:25:26 -07:00
Ross Wollman
7c4099a011
tests(installation): pin npm version as workaround (#16323)
Relates https://github.com/microsoft/playwright/issues/16281.
2022-08-05 15:24:47 -07:00
Dmitry Gozman
7a86e140f5
chore: remove TestProject.projectSetup (#16321)
There are better ideas to address this issue in more general manner.
2022-08-05 15:24:30 -07:00
Dmitry Gozman
706c00d242
chore: remove UMD wrapper from cssTokenizer (#16322)
This wrapper conflicts with some bundlers in the wild, and we don't really need it.
2022-08-05 15:24:11 -07:00
Dmitry Gozman
1f40e3d22b
chore: make Reporter.onExit an internal method (#16280) 2022-08-05 13:41:00 -07:00
Debbie O'Brien
7a16e1e238
docs: what you will learn running tests (#16315) 2022-08-05 21:37:56 +02:00
Debbie O'Brien
214f098d85
docs: add you will learn section (#16313) 2022-08-05 21:37:23 +02:00
Dmitry Gozman
424431fcfe
docs: explain toHaveText and toContainText in more details (#16283) 2022-08-05 10:27:17 -07:00
Playwright Service
f04dce6808
feat(firefox): roll to r1343 (#16288) 2022-08-05 09:35:39 -07:00
Dmitry Gozman
cb30cb4eb7
feat(test runner): add --trace cli option (#16277) 2022-08-05 09:20:39 -07:00
Playwright Service
e424a36945
feat(firefox-beta): roll to r1342 (#16294)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-05 09:13:53 -07:00
Max Schmitt
93a96347c2
devops: use bash always for upload_flakiness_dashboard (#16298) 2022-08-05 10:47:44 +02:00
Max Schmitt
57637d4a4a
devops: upload edge stable,beta,dev to flakiness dashboard (#16297) 2022-08-05 09:51:45 +02:00
Ross Wollman
e224159683
docs(python): pytest-xdist reference (#16231)
Partially resolves https://github.com/microsoft/playwright-python/issues/1442.

Tests: https://github.com/microsoft/playwright-pytest/pull/128.
2022-08-04 22:12:05 -07:00
Pavel Feldman
5d7e80bed6
chore: don't show reused browser intro (#16289) 2022-08-04 22:09:27 -07:00
Diego Pino
cd1413ecab
browser(webkit): Revert downstream change introduced in last roll (#16287)
browser(webkit): Revert downstream change introduced in #1697
2022-08-05 06:26:16 +02:00
Yury Semikhatsky
4fc05e8374
browser(firefox): run callbacks inside critical section (#16282)
Pretty-diff: yury-s/gecko-dev@688b4a7
2022-08-04 18:52:30 -07:00
Dmitry Gozman
919b1cbb22
fix(test runner): do not swallow afterEach errors after skipped tests (#16276)
Drive-by: add more test runner logging.
2022-08-04 18:49:23 -07:00
Pavel Feldman
97fa2518e9
fix(reuse): clear storage after stopping all scripts (#16275) 2022-08-04 16:39:18 -07:00
Playwright Service
4b53be4849
feat(chromium-tip-of-tree): roll to r1031 (#16272)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-05 00:17:47 +02:00
Pavel Feldman
3aa5710b49
feat(reuse): retain different browser types when reusing (#16269) 2022-08-04 15:04:00 -07:00
Pavel Feldman
b3d30a808f
fix(reuse): reset sw, db, storages (#16265) 2022-08-04 15:01:34 -07:00
Dmitry Gozman
6b6b13c71b
feat(selenium): update docs and include SE_NODE_GRID_URL requirement (#16230) 2022-08-04 13:39:12 -07:00
Yury Semikhatsky
d3d1287e4b
docs(java): setDefaultTimeout -> setDefaultAssertionTimeout (#16264) 2022-08-04 11:58:46 -07:00
Diego Pino
250d5f8b9a
browser(webkit): rebase to 08/03/22 (253090@main) (#16249) 2022-08-04 11:23:45 -07:00
sand4rt
bd5eddd62e
fix(ct): multi root vue components (#16211) 2022-08-04 10:43:43 -07:00
Dmitry Gozman
2fa48483af
test: unflake "should retain traces for interrupted tests" (#16235)
Ensure both tests start before one of them finishes.
2022-08-04 09:18:18 -07:00
Pavel Feldman
7645ac25a0
chore: watch mode straw man (#16127) 2022-08-04 08:09:54 -07:00
Max Schmitt
35bcecc5c3
chore: cleanup WK deps and fix WK on debian (#16253) 2022-08-04 15:35:32 +02:00
Max Schmitt
f92a34aa18
fix: add libatomic1 to WebKit ubuntu22 native deps (#16252) 2022-08-04 14:56:12 +02:00
github-actions[bot]
9cc735bf19
browser(chromium-tip-of-tree): roll to 2022-Aug-04 (#16244)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-04 12:04:49 +02:00
Max Schmitt
7a71b78841
chore: move Android tests to internal repo (#16240) 2022-08-04 09:41:46 +02:00
Max Schmitt
841ee02dc2
test: add host GPU support on Android tests (#16241) 2022-08-04 09:36:04 +02:00
Playwright Service
859939e53f
feat(firefox-beta): roll to r1341 (#16227)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-03 22:59:19 -07:00