-
Is there a way to pipe in the VITE_ variables to the Playwright tests? For example, depending on which Vite |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
Did you get any way to do this? |
Beta Was this translation helpful? Give feedback.
-
Use |
Beta Was this translation helpful? Give feedback.
-
Is it possible to just inject one variable, at runtime, without using
Whereas with the vite approach, it sounds like have I have to have a special |
Beta Was this translation helpful? Give feedback.
Use
loadEnv
helper from Vite to load Environment variables from.env
file wherever you want. It read.env
file and setup variables inprocess.env