60 Commits

Author SHA1 Message Date
Max Schmitt
9980f054bc
docs: align Node.js code snippets with ESLint (#23916) 2023-06-27 11:53:53 +02:00
Yury Semikhatsky
fd49940d2b
docs: add missing expect import (#23737)
Fixes #23736
2023-06-15 11:10:03 -07:00
bmaupin
c242dfac4c
docs: Make auth.setup.ts location clearer (#23572)
In the documentation, the directories of the other files are clearly
listed, making it clear where they should go, e.g.

- `playwright/fixtures.ts`
- `tests/example.spec.ts`

This applies the same principal to auth.setup.ts.
2023-06-08 21:38:54 -07:00
Daenam Kim
8b18bfcad1
docs: fix imports in auth.md (#23430)
While following instructions steps in the doc, I found some imports were
different as I expected. Correct me if I am wrong. :)
2023-06-01 09:23:22 -07:00
John Gachihi
4664156511
docs(auth): minor update to add cross link reference (#22991)
Co-authored-by: Max Schmitt <max@schmitt.mx>
2023-05-14 16:33:03 +02:00
Debbie O'Brien
759d14b881
docs: add titles for remaining examples (#22939)
Co-authored-by: Max Schmitt <max@schmitt.mx>
2023-05-10 23:30:51 +02:00
Debbie O'Brien
7a8eb15820
docs: add titles to config snippets (#22910)
Docs PR: https://github.com/microsoft/playwright.dev/pull/1039

---------

Co-authored-by: Max Schmitt <max@schmitt.mx>
2023-05-10 18:38:12 +02:00
jase
60afcc9c6c
docs(auth.md): JavaScript writeFileSync/readFileSync usage not async (#22649) 2023-04-26 12:42:24 -07:00
Drew Miller
d8b6b988cd
docs: spelling fix (#21573) 2023-03-14 19:04:02 +01:00
Yury Semikhatsky
a81ce3f13d
docs(auth): wait for the response with cookies (#21114)
Fixes #21096
2023-02-22 14:02:27 -08:00
Dmitry Gozman
4c68829e39
docs: update auth docs to remove cross-run caching (#21008) 2023-02-18 09:15:16 -08:00
Dmitry Gozman
42c606e181
docs: improve authentication guide (#20882) 2023-02-14 11:34:28 -08:00
Yury Semikhatsky
758246bb9e
docs: improve auth guide (#20602) 2023-02-03 16:51:44 -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
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
Pavel Feldman
41174e74a7
chore: replace worker index w/ parallel index in the docs (#19574) 2022-12-19 13:47:05 -08:00
Yury Semikhatsky
92dd734e04
chore: hide setup, store, TestProject.setupMatch, storageStateName (#19442) 2022-12-13 22:48:38 -08:00
Yury Semikhatsky
beb15bb504
chore: rename setup => setupMatch (#19309) 2022-12-06 14:55:22 -08:00
Yury Semikhatsky
1b3e53697b
chore: TestStorage => TestStore (#19308) 2022-12-06 13:33:43 -08:00
Yury Semikhatsky
405d6267dc
docs: per worker login with auto fixture (#19307) 2022-12-06 13:06:47 -08:00
Yury Semikhatsky
3c1b26b9f1
feat: make storage a global variable (#19283) 2022-12-05 21:37:37 -08:00
Yury Semikhatsky
e998b6cab9
docs: auth in project setup (#19220) 2022-12-01 16:53:54 -08:00
Dante Monaldo
e6a1bdffee
docs(auth): fix session storage examples (#18686)
Co-authored-by: Dante <dante@usebasis.co>
2022-11-10 09:43:42 -08:00
Max Schmitt
48d7bfc55f
docs: delete old auth + pom guides (#18615) 2022-11-07 15:31:42 -08:00
Pavel Feldman
8810b55504
feat(api): shorted getByLabel, getByPlaceholder (#17816) 2022-10-04 10:29:26 -07:00
Dmitry Gozman
b07690f408
docs: use getBy... in documentation (#17795) 2022-10-03 17:02:46 -07:00
Debbie O'Brien
3dad8de53e
docs: merge auth docs (#17046) 2022-09-08 18:40:18 +02:00
jfgreffier
3f41a0d765
docs: fix authentication list formatting (#16724) 2022-08-22 12:30:24 -07:00
Pavel Feldman
3cd8d6e513
chore(docs): revert recent changes temporarily (#16590) 2022-08-16 22:00:54 -07:00
Debbie O'Brien
ab53f195b3
docs: auth guide merge (#16573) 2022-08-16 16:04:11 +02:00
Max Schmitt
d21f06d650
docs: mention test-runner docs in library docs (#16348) 2022-08-08 17:05:56 +02:00
Debbie O'Brien
33f45e3f53
docs(debug): fix lang specific code (#15713)
Co-authored-by: Max Schmitt <max@schmitt.mx>
2022-07-19 15:24:50 +02:00
Max Schmitt
ee7d60fcee
docs: migrate page actions to locator actions 2/n (#15603) 2022-07-13 11:50:18 +02:00
Max Schmitt
428cdc073c
docs: migrate page actions to locator actions 1/n (#15586) 2022-07-12 22:39:31 +02:00
campersau
791860f31c
Update auth.md (#11700) 2022-01-27 22:07:47 +01:00
Pavel Feldman
1bf7f6d90d
docs: expand core-concepts and multi-age (#10161) 2021-11-09 07:42:04 -08:00
Max Schmitt
b8b4f904b2
docs(auth): fix session storage restore snippets (#9970) 2021-11-02 16:51:22 +01:00
Yury Semikhatsky
759e1b6bda
docs: fix list formatting (#9857) 2021-10-28 11:06:41 -07:00
Pavel Feldman
d1a2803a57
docs: improve the auth state docs (#9052) 2021-09-21 13:20:50 -07:00
Dmitry Gozman
d9d2d809a2
fix(test): make use in config accept option values only (#8828)
Also include default options in FullConfig/FullProject.
Also make examples compile and add a test.
2021-09-13 17:50:31 -07:00
Dmitry Gozman
b1260602ac
docs: update global setup docs (#8637)
Changing example to "authenticate once", and also updating the auth doc.
Adding a test with the same setup.
2021-09-01 15:35:46 -07:00
Yury Semikhatsky
1f168bd9c7
docs: fix java auth example (#8155)
Fixes #8153
2021-08-12 01:49:56 -07:00
christianbaumann
70b054d240
docs(auth): fixed typo in Java code snippet for session-storage (#7532)
Co-authored-by: Christian Baumann <christian.baumann@shipsta.com>
2021-07-09 11:51:32 +02:00
Dmitry Gozman
1660334357
feat(install): docs and help (#7365)
Drive-by: remove test-intro and references to it.
2021-06-28 18:50:24 -07:00
Pavel Feldman
144ef2a72d
docs: add reuse auth in test runner example (#7006) 2021-06-09 19:26:09 -07:00
Kumar Aditya
13b6444bda
docs(python): add docs for installing with conda (#6845)
Co-authored-by: Max Schmitt <max@schmitt.mx>
2021-06-03 11:37:43 +02:00
Pavel Feldman
f9357531f5
doc(dotnet): add a self-contained example (#6702) 2021-05-22 07:55:53 -07:00
Pavel Feldman
6281b95acc
docs(dotnet): follow up to Anze's changes (#6672) 2021-05-20 08:20:21 -07:00
Anže Vodovnik
0aa9e06370
docs(dotnet): First part/pass for guides (#6583) 2021-05-19 19:49:48 -07:00
Yury Semikhatsky
70beef83d0
docs: rename with* to set* for java (#5737) 2021-03-05 13:50:34 -08:00