mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
docs: add video on running tests (#31066)
This commit is contained in:
parent
a11a6d9874
commit
141c6a9c81
@ -45,8 +45,14 @@ The testing sidebar can be opened by clicking on the testing icon in the activit
|
||||
|
||||
You can run a single test by clicking the green triangle next to your test block to run your test. Playwright will run through each line of the test and when it finishes you will see a green tick next to your test block as well as the time it took to run the test.
|
||||
|
||||
<LiteYouTube
|
||||
id="mQmcIBMsc38"
|
||||
title="Getting Started with Playwright in VS Code"
|
||||
/>
|
||||
|
||||

|
||||
|
||||
|
||||
### Run tests and show browsers
|
||||
|
||||
You can also run your tests and show the browsers by selecting the option **Show Browsers** in the testing sidebar. Then when you click the green triangle to run your test the browser will open and you will visually see it run through your test. Leave this selected if you want browsers open for all your tests or uncheck it if you prefer your tests to run in headless mode with no browser open.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user