Comments (3)
That should be fixed now. Check out #30882 for more details. Also, please load your env in config, not in the global setup!
from playwright.
How / where do you load the .env variables?
from playwright.
with globalSetup.js and the dotenv package:
import { config as _config } from "dotenv";
function globalSetup() {
_config({
path: ".env",
override: true,
});
}
export default globalSetup;
from playwright.
Related Issues (20)
- [Bug]: Tests don't run with regular expression pattern if they are also marked with tags HOT 2
- [Bug]: route.continue() works but route.fetch() with route.fulfill() times out HOT 4
- [Docs]: --tag is listed as a valid option but it isn't available
- [Bug]: window.navigator.webdriver is false in Firefox HOT 1
- [Feature]: Is there a way to stop the html file being overwritten? HOT 3
- Upload file contains spaces HOT 1
- [Bug]: --last-failed doesn't consider skipped downstream projects
- [Bug]: Upload file contains spaces not working (ex: "test file.wav") HOT 2
- [Bug]: Playwright stuck at about:blank instead of opening the test page HOT 11
- [Feature]: An option to click a locator from a list randomly. HOT 3
- [Feature]: Customize PDF page size in "playwright pdf" command HOT 2
- [Bug]: Unable to use count() function on a locator using advance css ":not" function: e.g. "thead tr th:not([style*=none]" HOT 1
- [Bug]: Screenshot masking not working for fullpage HOT 2
- [Question]: Is there a way to stop generating .last-run.json file after test execution?
- [Bug]: Chromium with codegen crashes on Mac M1 signal 10 BUS_ADRALN HOT 6
- [Bug]: Downloading to a specific location was working before the Chrome update, but now it's showing a download popup. HOT 3
- [Feature]: Adding retries support for .net HOT 1
- [Feature]: Add a way to specify `installInstruction` alongside `executablePath` HOT 2
- [Bug]: My codegen do not shows the add assertion or rec menu HOT 2
- [Feature]: Toggled to set cwd as from workspace folder or from config folder for vscode extension HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from playwright.