Skip to content

Commit 2c01e49

Browse files
Merge pull request #304065 from puagarwa/puagarwa-patch-2
docs(): loadtesting playwright quickstart improvement
2 parents b3b9143 + 6d64444 commit 2c01e49

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

articles/app-testing/playwright-workspaces/quickstart-run-end-to-end-tests.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,12 @@ We recommend that you use the `dotenv` module to manage your environment. With `
124124
npm i --save-dev dotenv
125125
```
126126

127+
1. Add the following code snippet in playwright.service.config.ts:
128+
129+
```js
130+
require('dotenv').config();
131+
```
132+
127133
1. Create a `.env` file alongside the `playwright.config.ts` file in your Playwright project:
128134

129135
```

0 commit comments

Comments
 (0)