From 4508cd5816b573d887743d66cb840561be398fce Mon Sep 17 00:00:00 2001 From: Alireza Mirian Date: Wed, 6 Jul 2022 10:27:49 +0200 Subject: [PATCH] docs(ct): add yarn create example (#15407) Co-authored-by: Max Schmitt --- docs/src/test-components-js.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/src/test-components-js.md b/docs/src/test-components-js.md index ef4ead8177..820b268982 100644 --- a/docs/src/test-components-js.md +++ b/docs/src/test-components-js.md @@ -46,6 +46,12 @@ Adding Playwright Test to an existing React, Vue or Svelte project is easy. Belo npm init playwright@latest -- --ct ``` +or with Yarn: + +```sh +yarn create playwright --ct +``` + This step creates several files in your workspace: #### `playwright/index.html`