Dmitry Gozman
5eb8fea616
chore: rewrite worker main through TestInfoImpl._runAsStage ( #29644 )
2024-03-04 19:36:58 -08:00
Max Schmitt
291567b922
test(remove-cookie): do not rely on external websites for tests ( #29811 )
...
Fixes https://github.com/microsoft/playwright/issues/29795
2024-03-04 23:49:12 +01:00
Rui Figueira
73ffaf65d7
fix(codegen): fill action prevents omnibox navigation recording ( #29790 )
...
This PR is a fix proposal for a bug when trying to record a omnibox
navigation after a recorded action (e.g., `fill`).
The following test, included in this PR, reproduces the problem:
```ts
test('should record omnibox navigations after recordAction', async ({ page, openRecorder, server }) => {
const recorder = await openRecorder();
await recorder.setContentAndWait(`<textarea></textarea>`);
await Promise.all([
recorder.waitForOutput('JavaScript', 'fill'),
page.locator('textarea').fill('Hello world'),
]);
// for performed actions, 5 seconds is the time needed to ensure they are committed
await page.waitForTimeout(5000);
await page.goto(server.PREFIX + `/empty.html`);
await recorder.waitForOutput('JavaScript', `await page.goto('${server.PREFIX}/empty.html');`);
});
```
After performed actions (e.g., `click`), it successfully records the
navigation as long as there's at least a 5 sec. gap between both
actions. That happens because after that 5 sec. interval the performed
action is automatically commited and therefore the navigation is not
stored as a signal of that action.
The proposed fix for recorded actions also forces that action to be
automatically commited after 5 sec (for testing, I'm using 500ms to
speed up the test execution).
2024-03-04 12:31:03 -08:00
Max Schmitt
ef0a24a1b0
chore: remove chromium-with-symbols build ( #29807 )
2024-03-04 20:12:01 +01:00
Pavel Feldman
743a6ffe1d
chore: iterate towards tele reporter reuse in vscode ( #29803 )
2024-03-04 11:08:40 -08:00
Playwright Service
de73af99fa
feat(firefox): roll to r1443 ( #29801 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-04 18:11:17 +01:00
Playwright Service
a431afb818
feat(webkit): roll to r1986 ( #29800 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-04 18:11:04 +01:00
Pavel Feldman
68284b0505
chore: inject string pool into the tele receiver ( #29781 )
2024-03-04 08:46:32 -08:00
Marco D'Agostini
d5d4f591f3
fix typo in docs: "toHaveScreeshot()" ( #29780 )
2024-03-02 17:00:16 -08:00
Pavel
04e1747038
chore: follow up to align the tsdoc
2024-03-02 07:32:44 -08:00
Jan Sepke
e83b4c25be
docs(test-snapshots-js.md): Add link to snapshotPathTemplate ( #29727 )
...
]
2024-03-02 07:28:45 -08:00
PaulTriandafilov
8e48ee714d
feat(playwright-core): add remove cookies api ( #29698 )
2024-03-02 07:27:01 -08:00
Pavel Feldman
ef924c14e7
chore: do not use project id in telereporter ( #29776 )
2024-03-01 21:44:08 -08:00
Pavel Feldman
bbcc3c1238
chore: remove private config usage from telereporter ( #29771 )
2024-03-01 13:14:12 -08:00
Pavel Feldman
d0cc5871d8
chore: remove private suite from tele reporter ( #29752 )
2024-03-01 11:30:28 -08:00
Dmitry Gozman
ba3d887660
docs: improve addLocatorHandler docs ( #29770 )
2024-03-01 11:19:37 -08:00
Renan Greca
4e0bd6286e
docs: Improved JSDoc for expect.toPass ( #29722 )
2024-03-01 10:51:23 -08:00
Dmitry Gozman
a8c26d235c
Revert "chore(role): cache element list by role ( #29130 )" ( #29765 )
...
This reverts commit 1ce3ca25a2
.
Added a regression test.
Fixes #29760 .
2024-03-01 09:37:28 -08:00
Pavel Feldman
ff16d7960c
fix(tsload): fix tsconfig inheritance resolution ( #29766 )
...
Fixes https://github.com/microsoft/playwright/issues/29731
2024-03-01 09:36:04 -08:00
Playwright Service
f8e441a521
feat(chromium): roll to r1107 ( #29762 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-01 16:38:09 +01:00
Playwright Service
ceb1dd01aa
feat(chromium-tip-of-tree): roll to r1198 ( #29756 )
...
Signed-off-by: Max Schmitt <max@schmitt.mx>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2024-03-01 14:29:12 +01:00
Playwright Service
8780f7ad46
feat(chromium-tip-of-tree): roll to r1197 ( #29753 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-01 09:31:56 +01:00
Pavel Feldman
baf2cdf936
fix(ct): stop-gap for shared file import ( #29744 )
...
Fixes: https://github.com/microsoft/playwright/issues/29739
2024-02-29 19:13:32 -08:00
Yury Semikhatsky
c08a4e72d1
chore: call testInfo.snapshotPath directly ( #29755 )
...
Reference https://github.com/microsoft/playwright/issues/29719
2024-02-29 16:59:39 -08:00
Pavel Feldman
989cf8f179
chore: remove pw- binaries from ct ( #29754 )
2024-02-29 16:50:00 -08:00
Dmitry Gozman
0f30cdab23
feat(firefox): roll ff and ff-beta to 1442 ( #29751 )
...
This requires changes in `FFPage`.
Also fixing a new ff-specific test that introduced flakiness on the
bots.
Closes https://github.com/microsoft/playwright/pull/29750
Closes https://github.com/microsoft/playwright/pull/29724
Closes https://github.com/microsoft/playwright/pull/29681
Closes https://github.com/microsoft/playwright/pull/29678
2024-02-29 14:44:45 -08:00
Pavel Feldman
532d8e5500
fix(ct): fix the non-react cli entry points ( #29748 )
...
Fixes https://github.com/microsoft/playwright/issues/29746
2024-02-29 12:48:15 -08:00
Pavel Feldman
99744d0683
chore: normalize telereceiver type imports ( #29745 )
2024-02-29 12:31:07 -08:00
Playwright Service
0da29959fa
feat(chromium-tip-of-tree): roll to r1196 ( #29742 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-29 20:10:46 +01:00
Playwright Service
30be5e0d26
feat(webkit): roll to r1985 ( #29740 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-29 18:58:37 +01:00
Pavel Feldman
d9a00342c8
fix(HEAD): revert GET->HEAD migration, net-effect was negative ( #29738 )
...
Fixes: https://github.com/microsoft/playwright/issues/29732
2024-02-29 09:02:05 -08:00
Playwright Service
6bd7665bce
feat(webkit): roll to r1984 ( #29736 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-29 15:37:32 +01:00
Elio Struyf
f4f26fdf7b
docs(reporters): added 3rd-party GitHub Actions Reporter ( #29728 )
2024-02-29 10:25:54 +01:00
Dmitry Gozman
aedd7ca0be
chore: make CRNetworkManager handle multiple sessions ( #29721 )
...
It was already handling worker sessions, but not OOPIFs. As a result,
some functionality was properly implemented only for OOPIFs and not for
workers.
This change removes OOPIFs fanout for network-related calls from CRPage
and moves that to the CRNetworkManager, now also covering workers.
2024-02-28 15:51:27 -08:00
Stevan Freeborn
52b803ecf5
feat(trace mode): add on-first-failure mode for traces ( #29647 )
...
Implements the changes suggested in #29531
2024-02-28 14:39:18 -08:00
Pavel Feldman
d48aadac7e
fix: point to the right cli program export ( #29715 )
...
Fixes: https://github.com/microsoft/playwright/issues/29711
2024-02-28 14:05:42 -08:00
Flo Becker
772345c83c
fit(ct): remove unused type import ( #29706 )
...
Signed-off-by: Flo Becker <flo@die-beckerei.de>
2024-02-28 13:31:43 +01:00
Pavel Feldman
8264bec01e
fix(ff): stop gap for setInputFiles race ( #29696 )
2024-02-27 11:50:24 -08:00
Yury Semikhatsky
321e9d72c3
docs: better addLocatorHandler example in release notes ( #29692 )
2024-02-27 10:29:49 -08:00
Yury Semikhatsky
d8c16c1edf
chore: roll stable runner to 1.42.0-beta-1708998235000 ( #29675 )
2024-02-27 08:36:03 -08:00
Max Schmitt
713fbb5d23
devops: fix cherry_pick_into_release_branch permissions ( #29689 )
...
Fixes
https://github.com/microsoft/playwright/actions/runs/8067553095/job/22038251156 .
Signed-off-by: Max Schmitt <max@schmitt.mx>
2024-02-27 17:34:16 +01:00
Max Schmitt
1a43adc506
chore: fix docs roll for functions without args follow-up ( #29687 )
2024-02-27 16:40:18 +01:00
Max Schmitt
03902d8e85
chore: fix docs roll for functions without args ( #29684 )
2024-02-27 07:21:35 -08:00
Yury Semikhatsky
1c8e8bea7e
chore: roll stable test runner to 1.42.0-beta-1708994059000 ( #29672 )
2024-02-26 17:39:25 -08:00
Andrey Lushnikov
b183159fd0
test: add regression test for cross-context clicking ( #29668 )
...
References https://github.com/microsoft/playwright/issues/29096
2024-02-26 16:52:49 -08:00
Pavel Feldman
9d0430fa26
chore: strengthen linting ( #29669 )
2024-02-26 16:52:28 -08:00
Yury Semikhatsky
01846b954d
chore: mark 1.43.0-next ( #29670 )
2024-02-26 16:45:25 -08:00
Yury Semikhatsky
77e1b02552
docs: 1.42 release notes ( #29666 )
2024-02-26 16:34:19 -08:00
Yury Semikhatsky
c1421bc9f2
docs: typescript compiler invocation before tests ( #29667 )
...
Fixes https://github.com/microsoft/playwright/issues/29618
2024-02-26 15:26:05 -08:00
Lukas Bockstaller
bd8d044433
feat(uimode) uses relative paths to establish websocket connection ( #29617 )
2024-02-26 15:09:24 -08:00