You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dedicated to Nikola Tesla - Inventor of Alternating Current and much more
Changelog:
Changed POM structure and used new locators as per playwright best practices
Changed docker file to install chrome.
Fixed error in import path
Updated to official allure-playwright reporter
Updated to Playwright 1.31.0 .
and much more under the hood ;)
How can I use the test explorer in VS Code to have it recognize individual tests and also be able to use an environment from your boilerplate? If I use your boilerplate I can run tests in the command line, but I cannot pick a specific test with the "npx cross-env ENV=qa npm run test:single" command. But then, if I use the basic playwright template that comes with when you install playwright, I can select different tests I want to run but I cannot select an environment.
How can I use the test explorer in VS Code to have it recognize individual tests and also be able to use an environment from your boilerplate? If I use your boilerplate I can run tests in the command line, but I cannot pick a specific test with the "npx cross-env ENV=qa npm run test:single" command. But then, if I use the basic playwright template that comes with when you install playwright, I can select different tests I want to run but I cannot select an environment.
I am after same situation haven't been successful with a solution yet.
Hi , I am thinking of a way where we can remove this cross-env dependency and try to provide ENV variables. After that I think it might solve the issue just a guess. I am also looking for solution. It might take some time but thank you for brining this up
Hi I have made changes in code instead of using cross-env now I am using process-env. Can you please check this issue once and let me know if it's fixed
@akshayp7 The changes you made allows to use trace viewer not Test explorer. I find test explorer more useful as it had debugging step by step along with breakpoints which is nicely integrated with IDE. I think trace viewer is useful when you are more after performance and network analysis. It would be great if we can use Test Explorer in your framework.
Hi I tried to implement dotenv solution but the problem is we can't pass qa or dev environment variables from command line we have to pass it via env config file.
It's dynamic sometimes you need to pass qa or dev environment for example if you are running on ci/cd. What if you want to run same set of test cases on dev and qa. Commiting the changes and pushing code everytime would be cumbersome so we can pass qa or dev from command line while executing tests
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.
Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.
🎥 Watch TMZ Live
TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.
Uh oh!
There was an error while loading. Please reload this page.
-
Dedicated to Nikola Tesla - Inventor of Alternating Current and much more
Changelog:
Changed POM structure and used new locators as per playwright best practices
Changed docker file to install chrome.
Fixed error in import path
Updated to official allure-playwright reporter
Updated to Playwright 1.31.0 .
and much more under the hood ;)
Beta Was this translation helpful? Give feedback.
All reactions