Playwright Service
63d6a35ce5
chery-pick( #18060 ): fix(generator): .NET getByRole w/ name ( #18066 )
...
This PR cherry-picks the following commits:
- a60073d664
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-10-13 19:45:29 +03:00
Yury Semikhatsky
fde19c1652
chore: mark 1.27.1 ( #18011 )
2022-10-11 22:20:07 -07:00
Pavel Feldman
04b3b7190c
cherry-pick( #18010 ): fix(generator): generate nice locators for arbitrary selectors
2022-10-11 17:52:36 -07:00
Yury Semikhatsky
3367ebd968
cherry-pick( #17999 ): chore: don't fail on undefined video/trace ( #18001 )
2022-10-11 11:33:33 -07:00
Yury Semikhatsky
730d3226a9
cherry-pick( #17907 ): docs: improve trace viewer + add video ( #18000 )
2022-10-11 09:58:32 -07:00
Álvaro Martínez
384b710c24
cherry-pick( #17942 ): docs(release-notes): add missing reference to Page.getByTestId in 1.27 release notes
2022-10-10 12:36:58 -07:00
Pavel Feldman
df7906d92a
cherry-pick( #17959 ): chore: better integrity error message
2022-10-10 12:36:13 -07:00
Pavel Feldman
f87d6f2838
cherry-pick( #17961 ): fix(codegen): use constants when generating C# and Java roles
2022-10-10 12:26:52 -07:00
Playwright Service
4ff2f3d0c5
chery-pick( #17952 ): fix: fix typo in treeitem role typing ( #17965 )
...
This PR cherry-picks the following commits:
- 6b01df6d92
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-10-10 22:18:08 +03:00
Playwright Service
75aaaac3eb
chery-pick( #17918 ): docs: AriaRole is enum ( #17921 )
...
This PR cherry-picks the following commits:
- 946994ca92
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-10-08 09:03:18 +03:00
Dmitry Gozman
af0d2936ac
cherry-pick( #17912 ): docs: mention that exact option is ignored for regex
2022-10-07 10:20:11 -07:00
Dmitry Gozman
c05225f9b9
cherry-pick( #17896 ): chore: make local docker build work on branch ( #17906 )
...
Branch does not pass `isDevelopmentMode` check because it does not have
a version ending with `-next`. Therefore, `env.PWTEST_DOCKER_BASE_IMAGE`
is ignored which leads to the pull of non-existent image.
2022-10-07 10:11:41 -07:00
Dmitry Gozman
3f0af1e4df
cherry-pick( #17893 ): fix(locators): make regex escape work when multiple spaces are present ( #17894 )
2022-10-06 18:01:14 -07:00
Pavel Feldman
923a583174
cherry-pick( #17888 ): chore: make role name case-insensitive
2022-10-06 14:36:33 -07:00
Dmitry Gozman
b85b1ec6a0
cherry-pick( #17886 ): docs: v1.27 release notes for python, java and dotnet
2022-10-06 12:53:36 -07:00
Pavel Feldman
299bceaada
cherry-pick( #17885 ): feat(api): make aria roles an enum
2022-10-06 11:35:09 -07:00
Dmitry Gozman
03c7f9c2f0
cherry-pick( #17879 ): test: rebaseline requestStorageAccess test for firefox-beta ( #17884 )
2022-10-06 11:02:47 -07:00
Dmitry Gozman
3bf42ce163
cherry-pick( #17864 ): test: fix "getByText should work" with tracing enabled, docker smoke tests ( #17883 )
2022-10-06 10:12:22 -07:00
Dmitry Gozman
2993281d78
cherry-pick( #17863 ): chore(docker): make sure failed commands exit with non-zero code ( #17880 )
2022-10-06 09:01:08 -07:00
Pavel Feldman
1bc426b94f
cherry-pick( #17862 ): fix(esm+tsconfig): allow mapped ts files in esm mode
2022-10-06 08:08:24 -07:00
Pavel Feldman
cfa554972b
cherry-pick( #17855 ): chore: use api selectors in codegen hover
2022-10-06 08:07:45 -07:00
Dmitry Gozman
1150de8e75
chore: mark v1.27.0 ( #17860 )
2022-10-05 17:00:12 -07:00
Dmitry Gozman
cdeb9e3066
docs: release notes for v1.27 ( #17858 )
2022-10-05 14:24:24 -07:00
Dmitry Gozman
6750a02506
fix(api): hide TestConfig.groups ( #17853 )
...
Also fix types for `FullConfig.configFile`.
2022-10-05 14:24:14 -07:00
Paul Mestemaker
795730f665
fix(examples): add missing await to todomvc ( #17832 )
2022-10-05 22:40:46 +02:00
Pavel Feldman
3ecaa36e25
chore: make locators generator isomorphic ( #17850 )
2022-10-05 13:13:22 -07:00
Dmitry Gozman
30179d4d78
fix(tsconfig): remove TS_NODE envs, update docs ( #17847 )
...
References #17469 .
2022-10-05 12:51:12 -07:00
Pavel Feldman
c168f5494f
chore: generate getByLabel for inputs ( #17845 )
2022-10-05 12:02:15 -07:00
Max Schmitt
e8413264fa
chore: fix .NET generator ( #17849 )
2022-10-05 21:01:57 +02:00
Pavel Feldman
ff15fcf911
chore: hide selector factories ( #17844 )
2022-10-05 12:00:01 -07:00
Stephen Li
0b1b718afc
feat(core): type addInitScript function arg ( #17651 )
...
Allows autocomplete on the arg passed to the init script
```ts
await page.addInitScript((arg) => {
window.localStorage.setItem('init_user_state', JSON.stringify(arg.initUserState)) // arg was previously 'any'
}, {
initUserState: { foo: 'bar' },
})
```
2022-10-05 09:08:30 -07:00
Dmitry Gozman
2bcd9ce9ae
chore: internal selectors ( #17827 )
...
- Rename internal selectors `has`, `control` and `attr` to
`internal:has`, `internal:control` and `internal:attr`.
- Fix `getByLabel()` to respect strictness, by introducing
`internal:label` selector.
- Move tests essential for ports to `selectors-by.spec`.
2022-10-05 08:45:10 -07:00
Yury Semikhatsky
f64dbe9ece
test: :scope.class should narrow down locator ( #17829 )
2022-10-04 18:05:43 -07:00
Dmitry Gozman
a9c02b9753
fix(locators): properly escape various locator methods ( #17798 )
...
References #17604 .
2022-10-04 13:21:38 -07:00
Pavel Feldman
8810b55504
feat(api): shorted getByLabel, getByPlaceholder ( #17816 )
2022-10-04 10:29:26 -07:00
Justin Kat
e2b5fc4f88
docs(chrome-extensions): update test fixture grammar ( #17770 )
2022-10-04 12:18:01 +02:00
Peter Ng
253e3d2814
docs(contribution-guide): add min NPM/Node version requirement ( #17754 )
2022-10-04 12:17:25 +02:00
arukiidou
a9807ce93d
docs(test-reporters): add third-party ReportPortal reporter ( #17762 )
2022-10-04 12:14:41 +02:00
maple
04cd31569a
docs(puppeteer): fix unbalanced parentheses ( #17778 )
2022-10-04 12:12:38 +02:00
Yury Semikhatsky
a9ef95f31e
test: update expectations of requestStorageAccess ( #17780 )
...
Fixes https://github.com/microsoft/playwright/issues/17285
2022-10-03 20:46:47 -07:00
Yury Semikhatsky
cb6b824119
test: update SameSite cookie fetch test ( #17797 )
2022-10-03 20:46:25 -07:00
Dmitry Gozman
99266e48ec
test: add a test for bfcache and history navigations ( #17796 )
...
Fixes #17618 .
2022-10-03 19:13:28 -07:00
Pavel Feldman
1311767f87
chore: generate api calls ( #17794 )
2022-10-03 17:14:02 -07:00
Playwright Service
ade75d66cf
feat(firefox-beta): roll to r1360 ( #17793 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-10-03 17:07:18 -07:00
Playwright Service
b364d1c6ac
feat(firefox): roll to r1357 ( #17786 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-10-03 17:04:57 -07:00
Dmitry Gozman
b07690f408
docs: use getBy... in documentation ( #17795 )
2022-10-03 17:02:46 -07:00
Dmitry Gozman
f14f69624f
test: unflake network idle test ( #17784 )
...
Too slow on Firefox to fit 500ms network idle timeout.
2022-10-03 12:28:19 -07:00
Dmitry Gozman
06e0ea5e24
test: unflake page-drag tests ( #17783 )
...
To avoid rounding errors, make coordinates even.
2022-10-03 12:26:36 -07:00
Dmitry Gozman
57cde6e671
docs: fix locators guide ( #17781 )
...
Tabs, as in python sync vs async, cannot be placed inside a list item -
docasaurus doesn't like that.
Reverting "lists" section to fix it.
2022-10-03 12:24:26 -07:00
Playwright Service
7fb3cb497d
feat(webkit): roll to r1724 ( #17753 )
2022-10-03 10:28:57 -07:00