1948 Commits

Author SHA1 Message Date
Max Schmitt
df6f500730
docs: mention use-case for the Docker image (#20621)
Fixes
https://github.com/microsoft/playwright/issues/20589#issuecomment-1416263856
2023-02-03 14:03:55 -08:00
Sander
adab7a817e
docs(ct): hooks and formatting (#20593) 2023-02-03 08:56:55 -08:00
Dmitry Gozman
f46883e58e
feat(expect): add GenericAssertions documentation (#20564)
References #20432.
2023-02-01 16:55:52 -08:00
Dmitry Gozman
6f699cd346
docs: clarify headers propagation to redirects (#20572)
References #20501.
2023-02-01 16:55:03 -08:00
Pavel Feldman
421dd884a7
chore: implement --no-deps (#20569) 2023-02-01 16:32:13 -08:00
Pavel Feldman
cb9ace6035
chore(test): move run options into config (#20568) 2023-02-01 15:25:26 -08:00
Dmitry Gozman
6ad4687f4d
feat(route): add maxRedirects option to Route.fetch (#20567)
References #20501.
2023-02-01 14:43:21 -08:00
Pavel Feldman
635b47025e
chore: expose project dependencies api (#20546) 2023-02-01 08:39:07 -08:00
Yury Semikhatsky
0d0968076e
docs: update .net console example comments (#20503)
https://github.com/microsoft/playwright-java/issues/1168
2023-01-30 09:10:22 -08:00
chimurai
f72d400952
chore: fix typos (#20473) 2023-01-30 09:53:28 +01:00
Adi
32724cd5ce
docs: Added types to custom reporter typescript example (#20191) 2023-01-28 09:38:42 -08:00
Pob Ch
7cb1b2db39
docs(getting-started): fix typo (#20468)
Signed-off-by: Pob Ch <590650@gmail.com>
2023-01-28 12:02:53 +01:00
Yury Semikhatsky
532ca3f7b3
fix: throw on tap when hasTouch=false (#20457)
Fixes #20430
2023-01-27 15:51:57 -08:00
Sander
76cb09675a
docs(ct): pnpm install (#19841) 2023-01-27 14:33:20 -08:00
Pavel Feldman
841ac6ecb3
docs: remove third party js runners doc (#20405)
Fixes: https://github.com/microsoft/playwright/issues/20390

We are doing such a bad job documenting these third party approaches
that they bring more harm than benefit. We should let respective
integration owners own the documentation and link to it. I'll remove it
altogether for now.
2023-01-26 10:05:11 -08:00
Jeremy Hutchinson
bc134551fb
docs(dotnet): add support for CDPSession (#20053)
Implemented in https://github.com/microsoft/playwright-dotnet/pull/2448

Signed-off-by: Jeremy Hutchinson <jrhutch@live.com>
Co-authored-by: Jeremy Hutchinson <jehutchi@microsoft.com>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2023-01-26 11:49:10 +01:00
Pavel Feldman
5761a62b1c
docs: clarify the null value for the viewport (#20333)
Fixes https://github.com/microsoft/playwright/issues/20284
2023-01-25 17:48:18 -08:00
Pavel Feldman
fe1dd7818d
chore: extract task runner for global setup (#20345) 2023-01-25 15:38:23 -08:00
chamu228
112c7bda45
docs(java): fix Java doc of playwright create method (#20356) 2023-01-25 09:51:16 +01:00
Pavel Feldman
147bb6b292
chore: run global setup before onBegin (#20285) 2023-01-23 17:44:23 -08:00
Rob Donnelly
ba0189f8d7
docs(test-parameterize): fix typos (#20178) 2023-01-23 09:28:22 -08:00
Harikrishna
953f96b493
docs: fix the typo error for 'Dragging manually' Java example (#20275) 2023-01-23 10:55:00 +01:00
Dmitry Gozman
0cc0d168cd
chore: mark 1.31-next (#20268) 2023-01-20 19:29:14 -08:00
Dmitry Gozman
8d646d1adb
chore: release notes for 1.30 (#20264) 2023-01-20 12:56:48 -08:00
Dmitry Gozman
d950f5b6ee
chore: remove toIntersectViewport for the next release (#20232)
Mostly reverts #19901.
2023-01-19 15:04:09 -08:00
Andrey Lushnikov
1b8b20dc25
chore: drop locator.viewportRatio() method (#20131)
As per API review discussion, we'd like to refrain from
exposing this method.
2023-01-19 08:46:45 -08:00
Max Schmitt
bddc120bd2
docs: delete showcase.md (#20222)
It was never linked from the sidebar and contains a lot of unmaintained
projects.
2023-01-19 14:09:32 +01:00
Pavel Feldman
e08168e16e
chore: temporarily remove project and global setup, store (#20181) 2023-01-18 12:56:03 -08:00
Yury Semikhatsky
0facbe001d
docs: java release notes snippet (#20200) 2023-01-18 12:23:36 -08:00
Debbie O'Brien
17e76db136
docs: update auth examples (#20144)
remove unnecessary step of clicking login
change get by text to button role
change all username and password to strings for consistency
2023-01-18 11:20:22 -08:00
Yury Semikhatsky
c36827433d
docs: fix java console message snippet (#20171)
Fixes https://github.com/microsoft/playwright-java/issues/1168
2023-01-17 11:04:43 -08:00
Max Schmitt
341b50fd25
chore: return Promise<any> in {page,context}.unroute (#20135) 2023-01-17 19:14:47 +01:00
Debbie O'Brien
700145e627
docs: improve intro screenshots (#20148) 2023-01-17 13:06:19 +01:00
Debbie O'Brien
57210147f3
docs: improve trace viewer screens (#20147) 2023-01-17 12:42:50 +01:00
Debbie O'Brien
ddbd76307d
docs: improve screenshots vscode (#20146) 2023-01-17 12:42:20 +01:00
Simon Siefke
23948c53b7
docs(writing-tests): fix syntax error (#20123)
fixes #20122
2023-01-16 11:16:37 +01:00
Debbie O'Brien
e780a5c1ac
docs: improve best practices (#20106) 2023-01-16 10:52:36 +01:00
Pavel Feldman
e065d608b6
chore: introduce defineConfig for easier JS typing (#20061)
Fixes https://github.com/microsoft/playwright/issues/19694
2023-01-12 13:12:02 -08:00
Yury Semikhatsky
730a197c80
feat: config.globalScripts (#20062)
Introduce config.globalScripts. Tests from the matching files will run
before all projects. We'll only allow beforeAll/afterAll instead of
tests in such files (next PR).

Global scripts are executed as part of 'Global Scripts' project which is
not present in FullConfig.projects but may be referenced by
corresponding global setup Suites.

Signed-off-by: Yury Semikhatsky <yurys@chromium.org>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2023-01-12 13:02:54 -08:00
Debbie O'Brien
fa49803ca0
docs: Best practices (#19634) 2023-01-12 12:45:57 +01:00
Yevhen Laichenkov
ed1c4b582f
docs: add missed request fixture in the pre-defined list (#20038) 2023-01-11 14:07:57 -08:00
Yury Semikhatsky
0206d5fb18
docs: update route.fetch example to use new api (#20040) 2023-01-11 09:15:21 -08:00
Mithun Shanbhag
2394debce5
docs(ci): docker container specs go inside jobs (#20020)
Signed-off-by: Max Schmitt <max@schmitt.mx>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2023-01-11 10:44:27 +01:00
Max Schmitt
0fe327c21b
chore: return Promise<any> in {page,context}.route (#20005)
Fixes https://github.com/microsoft/playwright/issues/19855
Closes https://github.com/microsoft/playwright/pull/19856
2023-01-10 18:07:17 +01:00
Pavel Feldman
6022a4098f
chore: deprecate page.waitForNavigation, locator.elementHandle (#19977) 2023-01-09 20:04:04 -08:00
Dmitry Gozman
7d2cc06355
docs: add usage sections to Locator methods (#19968) 2023-01-09 13:06:25 -08:00
Yury Semikhatsky
a39a97f0ee
chore: setup -> test.projectSetup (#19932)
* Changed `setup` to `test.projectSetup`
* Only `test.projectSetup.only` is supported on the new method
* test.* methods except for before/after/Each/All hooks can be called
inside the project setup files
2023-01-09 11:21:48 -08:00
Max Schmitt
e3d615e9f2
docs: add Electron troubleshooting note (#19954)
Fixes https://github.com/microsoft/playwright/issues/19854

Signed-off-by: Max Schmitt <max@schmitt.mx>
Co-authored-by: Pavel Feldman <pavel.feldman@gmail.com>
2023-01-09 18:39:54 +01:00
Vincent G
bb275cccb6
docs(test-cli): typo for tests at a specific line (#19908) 2023-01-09 09:14:31 -08:00
Niklas Haag
87b14ea737
docs(writing-tests-js) Fix grammar mistake (#19958) 2023-01-09 17:18:54 +01:00