45 Commits

Author SHA1 Message Date
Yury Semikhatsky
87b896e597
chore: remove playwright-ct-vue2 (#33302) 2024-10-25 13:31:55 -07:00
Sander
4a53973fd0
docs(ct): vue + jsx and general improvements (#32212)
partial fix for:
https://github.com/microsoft/playwright/issues/31927#issuecomment-2267065378

---------

Signed-off-by: Sander <info@mesander.com>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2024-09-09 05:09:18 -07:00
Sander
c9a12e4ca1
docs(ct): fix component.update example for vue and svelte (#31889) 2024-07-31 13:40:19 +02:00
Dmitry Gozman
e86c8af599
chore: rename route fixture in ct (#31817)
Addresses review feedback.
2024-07-23 07:43:28 -07:00
damar Zaky
96e0a96ac1
docs: fix grammar and typos in various files (#31678)
- docs/src/best-practices-js.md
- docs/src/codegen.md
- docs/src/debug.md
- docs/src/events.md
- docs/src/library-js.md
- docs/src/locators.md
- docs/src/other-locators.md
- docs/src/test-components-js.md
- docs/src/trace-viewer.md

---------

Signed-off-by: damar Zaky <damzaky@gmail.com>
2024-07-16 06:15:25 -07:00
Dmitry Gozman
369a1eca48
feat(ct): experimental route fixture (#31554)
This fixture accepts the same arguments as `context.route()`, but also
supports request handlers compatible with msw syntax.
2024-07-06 09:35:20 -07:00
Sander
1cbc67144a
docs(ct): format story example code (#31317) 2024-06-17 10:27:34 +02:00
Sander
132ceff702
docs(ct): faq how to access the component instance (#31305)
The question has been asked a few times:
https://github.com/microsoft/playwright/issues/16889,
https://github.com/microsoft/playwright/issues/22606 and I think more
people will encounter this
2024-06-13 16:10:35 -07:00
Sander
c912621d10
docs(ct): api reference (#31109)
closes: https://github.com/microsoft/playwright/issues/30581
2024-06-03 09:58:56 -07:00
Sander
4b5ecd2d79
docs(ct): remove router faq (#30663) 2024-05-08 18:40:12 +01:00
Jean-François Greffier
aef2d3879c
docs(components): fix hooks imports in components test examples (#30282) 2024-04-08 09:46:01 +02:00
Debbie O'Brien
3773f004db
docs: add intros for all pages (#27480) 2023-10-06 15:08:51 +02:00
Pavel Feldman
25f06575bf
docs: recommend using test stories in ct (#27440)
Closes https://github.com/microsoft/playwright/issues/27439
2023-10-04 19:48:26 -07:00
Sander
d1ae0ab94f
docs(ct): pnpm create playwright (#27377)
pnpm supports the `create` command which acts as a shortcut to `pnpm dlx
create-*`

related:
https://github.com/microsoft/playwright/pull/24397/files#diff-af370723ed754e89d1e69d20f211a5a8249651b1b5692348398bbd105f1ac445R47
2023-10-02 10:58:58 -07:00
Pavel Feldman
afb17b02a7
docs: remove outdated ct limitations (#26707) 2023-08-25 12:09:38 -07:00
Max Schmitt
fef029e98e
docs: code snippet alignments (#23959) 2023-06-29 18:26:19 +02:00
Max Schmitt
138e143030
docs: fix leftover broken Node.js code snippets (#23919) 2023-06-27 14:39:44 +02:00
Max Schmitt
9980f054bc
docs: align Node.js code snippets with ESLint (#23916) 2023-06-27 11:53:53 +02:00
Sander
e872a2b286
docs(ct): rephrase how to get started (#23195) 2023-05-22 13:26:08 -07: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
Ruben
f9eeaa2b75
docs: update import in code example (#22591) 2023-05-10 15:18:20 +02:00
Max Schmitt
771abe15fb
docs(node): consolidate JS/TS snippets for guides (#21710)
https://github.com/microsoft/playwright/issues/21385
2023-03-16 21:16:18 +01:00
Debbie O'Brien
b90b18daf3
docs: change videos to use new youtube component (#20899) 2023-02-14 17:09:53 +01:00
Sander
aaafd37e24
docs(ct): improve pinia instructions (#20644) 2023-02-09 08:59:11 -08:00
Sander
adab7a817e
docs(ct): hooks and formatting (#20593) 2023-02-03 08:56:55 -08:00
Sander
76cb09675a
docs(ct): pnpm install (#19841) 2023-01-27 14:33:20 -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
sand4rt
4ed2a01d9c
core(ct): import paths (#18131) 2022-10-19 19:41:21 -07:00
sand4rt
842dec334d
docs(ct): general improvements (#17923) 2022-10-08 18:56:54 +03:00
sand4rt
8d078cc87a
docs(ct): solid and typo (#17769) 2022-10-06 08:25:16 -07:00
Max Schmitt
0e740f85ea
docs(ct): fix broken examples (#17737) 2022-09-30 16:30:32 +02:00
Pavel Feldman
68030e563d
docs: update ct faq (#17717)
Co-authored-by: Ross Wollman <rwoll@users.noreply.github.com>
2022-09-29 15:09:27 -07:00
sand4rt
45b3476c8c
docs(ct): solid (#17568) 2022-09-27 13:26:29 -07:00
Debbie O'Brien
e29f70bba6
docs: add component testing examples (#17362) 2022-09-16 17:33:04 +02:00
Vaas
6c67ecb0cd
docs(components): Example for using hooks (#16706) 2022-08-22 12:31:39 -07:00
Alireza Mirian
4508cd5816
docs(ct): add yarn create example (#15407)
Co-authored-by: Max Schmitt <max@schmitt.mx>
2022-07-06 10:27:49 +02:00
Debbie O'Brien
239119e59f
docs: add video to component tests (#15242) 2022-07-01 09:22:56 +02:00
Pavel Feldman
abed166dd4 docs: components known issues 2022-05-21 11:28:37 -07:00
Pavel Feldman
729e41b3aa docs: component testing npm nit 2022-05-11 12:24:04 -07:00
Pavel Feldman
5c9e7f48e0
fix(debug): do not pause on internal calls, update ct docs (#14018) 2022-05-07 19:56:25 -07:00
Pavel Feldman
1bbefce9af
Revert "chore: use plugins for component testing again (#13977)" (#13998)
This reverts commit a2f9f15e3e2419d24b8b1deb87d304c363f93435.
2022-05-06 12:02:07 -07:00
Pavel Feldman
2e96c7eeb3
chore: update ct how-to (#13981) 2022-05-05 17:59:37 -07:00
Pavel Feldman
a2f9f15e3e
chore: use plugins for component testing again (#13977) 2022-05-05 14:26:56 -07:00
Nav-2d
831b9e1d6d
docs(components): update docs (#13953) 2022-05-05 07:35:01 -07:00
Pavel Feldman
cfde11b6e2
docs: add a brief components doc (#13944) 2022-05-04 16:01:48 -07:00