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
Andrey Lushnikov
2a49c5e498
feat(expect): introduce expect(locator).toIntersectViewport() ( #19901 )
...
This is a new web-first assertion that should be used like this:
```ts
test('should work', async ({ page }) => {
const locator = page.locator('body');
// New web-first assertion.
await expect(locator).toIntersectViewport();
// The same functionality.
await expect.poll(() => locator.viewportRatio()).toBeGreaterThan(0);
});
```
Fixes #8740
2023-01-06 16:56:24 -08:00
Dmitry Gozman
b376110b77
docs: add proper usage for some test apis ( #19925 )
2023-01-06 10:26:23 -08:00
Tommaso A
6d64edc090
docs(reporter): added types to Reporter TypeScript example ( #19917 )
2023-01-06 13:39:17 +01:00
Max Schmitt
2f4b5ea371
docs(java): fix intro examples ( #19896 )
...
Signed-off-by: Max Schmitt <max@schmitt.mx>
2023-01-05 20:25:33 +01:00
Boris Osipov
90af7a7ee0
docs(chrome-extensions-js-python.md) add headless testing docs ( #19812 )
...
See https://github.com/microsoft/playwright/issues/19233
2023-01-05 11:08:16 -08:00
Emerson Castaneda
9f7b0e4e01
Update writing-tests-java.md sample code ( #19894 )
...
Fix code compilation issues reported in
https://github.com/microsoft/playwright-java/issues/1158
2023-01-05 11:05:16 -08:00
Max Schmitt
ef877dadfe
docs(test-advanced): add missing browser.close() ( #19884 )
...
https://github.com/microsoft/playwright/issues/19822
2023-01-05 11:00:27 -08:00
Max Schmitt
ddccb59093
chore: fix Java CLI invocation on Windows ( #19895 )
...
For reference: https://stackoverflow.com/a/64300409
2023-01-05 10:55:07 -08:00
Andrey Lushnikov
3883799d68
feat: introduce locator.viewportRatio
( #19761 )
...
References #8740
2023-01-05 10:49:32 -08:00
Ori Livni
655d788c8e
docs(ci): fix wrong CircleCI environment vars ( #19887 )
2023-01-05 11:10:28 +01:00
Dmitry Gozman
599ae30313
chore: update .net generator with deprecated/discouraged ( #19843 )
2023-01-03 23:03:38 +01:00
Yury Semikhatsky
54c90576c6
docs: clarify what core features are ( #19842 )
2023-01-03 11:30:38 -08:00
Yusuke Iwaki
b2820fccda
docs(python): fix example code of Route.fetch ( #19840 )
2023-01-03 11:05:09 -08:00
Tim Deschryver
9f27b300f4
docs(test-runners): update test runners for .NET ( #19830 )
2023-01-03 10:14:00 +01:00
Yury Semikhatsky
137070d889
Revert "chore: hide setup, store, TestProject.setupMatch, storageStat… ( #19756 )
...
…eName (#19442 )"
This reverts commit 92dd734e0471cc1b4724ad965e4389ed5235a9f1.
2022-12-28 15:39:31 -08:00
Yury Semikhatsky
d912cbf115
docs: add instructions on msedge & chrome installation ( #19753 )
...
Fixes #18511
2022-12-28 15:13:45 -08:00
Sang Nguyen
f88b22d0c0
docs: fix wrong waitForResponse example in Node.js ( #19701 )
2022-12-27 09:12:43 -08:00
Dave Guarino
cb0688bb52
docs(showcase.md): add links to Ruby port ( #19712 )
2022-12-27 09:11:08 -08:00
Max Schmitt
d5881b8d48
docs: test runner first inside Node.js docs ( #19659 )
2022-12-23 10:57:29 +01:00
Pavel Feldman
a248be86ce
docs: http auth via config ( #19643 )
...
Fixes https://github.com/microsoft/playwright/issues/19630
2022-12-21 18:19:02 -08:00
Pavel Feldman
675f0eb4a0
chore: report error location for fatal errors ( #19610 )
2022-12-21 09:36:59 -08:00
Max Schmitt
3555dbd4b4
docs: add 1.29 language port release notes ( #19573 )
...
Signed-off-by: Max Schmitt <max@schmitt.mx>
Co-authored-by: Yury Semikhatsky <yurys@chromium.org>
2022-12-20 20:51:21 +01:00
Max Schmitt
bb2a2c7331
fix: render discouraged / deprecated types ( #19596 )
...
Fixes https://github.com/microsoft/playwright/issues/19591
2022-12-20 16:19:07 +01:00
Jean-François Greffier
6846765a9c
docs: fix docs links ( #19510 )
...
Signed-off-by: Max Schmitt <max@schmitt.mx>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2022-12-20 13:17:52 +01:00
Vladimir Semenov
467d9f37fc
feat(reporter): Add parallelIndex
field to TestResult
( #19570 )
2022-12-19 14:37:04 -08:00
Pavel Feldman
41174e74a7
chore: replace worker index w/ parallel index in the docs ( #19574 )
2022-12-19 13:47:05 -08:00
Chen Chen
53ef0d060c
docs(dotnet): fix the nunit and mstest testing examples in intro ( #19557 )
2022-12-19 16:28:17 +01:00
Yury Semikhatsky
b5f908d31f
docs: remove Serializable from Route.*.postData in java ( #19532 )
...
We only support String and byte[] and throw otherwise, align the types
with it.
2022-12-16 11:14:29 -08:00
Yury Semikhatsky
d01952576d
docs: route.fetch.postData in java ( #19527 )
2022-12-16 10:14:02 -08:00
Andrey Lushnikov
e99323dd90
chore: release notes 1.29 ( #19497 )
...
Signed-off-by: Andrey Lushnikov <aslushnikov@gmail.com>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2022-12-16 09:46:40 -08:00
Max Schmitt
1e31afd9d7
docs: fix locator all since version ( #19509 )
...
Also a CP candidate.
2022-12-16 18:02:26 +01:00
Max Schmitt
ba8a6c4b08
docs: fix HTML snippets ( #19507 )
...
Merging unreviewed to unblock docs build.
Main fix is in line 818, others drive-by.
2022-12-16 12:01:33 +01:00
Andrey Lushnikov
0be1fc8559
chore: cut version 1.29 ( #19489 )
2022-12-15 11:22:35 -08:00
Pavel Feldman
3afd83c8cc
chore: withdraw locator.enumerate ( #19484 )
2022-12-15 10:13:56 -08:00
Max Schmitt
af6e93dfd6
docs(test-cli): document --trace mode ( #19474 )
2022-12-15 17:14:21 +01:00
Debbie O'Brien
38b8140aab
docs: improve examples in assertions ( #19209 )
2022-12-15 10:21:35 +01:00
Debbie O'Brien
c1a1090eb3
docs: improve locators in fixtures ( #19210 )
2022-12-15 10:21:08 +01:00
Pavel Feldman
0e2732decf
feat(api): introduce expect().toPass ( #19463 )
2022-12-14 19:23:13 -08:00
Pavel Feldman
17a0074459
feat(api): introduce Locator.all, enumerate ( #19461 )
2022-12-14 16:42:50 -08:00
Debbie O'Brien
e7b8554342
docs: change listItem to article in locators doc ( #19060 )
2022-12-14 13:42:52 -08:00
Andrey Lushnikov
8167f8bf54
chore: hide "comparator" option from documentation and types ( #19441 )
2022-12-14 09:58:19 -08:00