Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

todomvc-test: fix dotenv dependency and verbosity (#38942)

Cheng Shao4360ffa24325
diff --git a/examples/todomvc/package.json b/examples/todomvc/package.json
index 1aa4392cb5..ff75517334 100644
--- a/examples/todomvc/package.json
+++ b/examples/todomvc/package.json
@@ -11,6 +11,7 @@
"author": "",
"license": "ISC",
"devDependencies": {
- "@playwright/test": "^1.38.0"
+ "@playwright/test": "^1.38.0",
+ "dotenv": "^17.2.3"
}
}
diff --git a/examples/todomvc/playwright.config.ts b/examples/todomvc/playwright.config.ts
index e21dd0f655..2cb249b037 100644
--- a/examples/todomvc/playwright.config.ts
+++ b/examples/todomvc/playwright.config.ts
@@ -3,7 +3,7 @@
import { defineConfig, devices } from '@playwright/test';
import dotenv from 'dotenv';
-dotenv.config();
+dotenv.config({ quiet: true });
/**
* See https://playwright.dev/docs/test-configuration.