tests: Streamline hosted Playwright local setup
Streamline the process of setting up Playwright for local development of hosted service tests using dotenv. Add short guide to README as well.
This commit is contained in:
parent
8136e0fb5b
commit
781267f16c
6 changed files with 41 additions and 5 deletions
6
playwright_example.env
Normal file
6
playwright_example.env
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
PLAYWRIGHT_USER="" # Required
|
||||
PLAYWRIGHT_PASSWORD="" # Required
|
||||
BASE_URL="https://stage.foo.redhat.com:1337" # Required
|
||||
CI="" # This is set to true for CI jobs, if checking for CI do !!process.env.CI
|
||||
TOKEN="" # This is handled programmatically.
|
||||
PROXY="" # Set this if running directly against stage (not using "yarn local")
|
||||
Loading…
Add table
Add a link
Reference in a new issue