Adds a script to the `package.json` file for running Playwright tests. Updates the `.env.dev` file to set the base URL for the QA environment.
22 lines
No EOL
671 B
Text
22 lines
No EOL
671 B
Text
# .env.dev
|
|
# Environment configuration
|
|
|
|
# Environment type
|
|
NODE_ENV="qa"
|
|
|
|
# Base URLs by environment (uncomment the one you need)
|
|
# qa
|
|
BASE_URL="https://www-qa2.safelite.com/"
|
|
# sys
|
|
# BASE_URL="https://www-test2.safelite.com/fmg/?fmgPage=vehicle"
|
|
# dev
|
|
# BASE_URL="https://www-dev2.safelite.com/"
|
|
# dev with leadgen
|
|
# BASE_URL="https://www-dev2.safelite.com/?&experiments=LeadGenHeritage=LeadGenHeritageExp_V3=LeadGenHeritageTestV3=true"
|
|
|
|
# API endpoints
|
|
CCIS_API_URL="https://api.test.belronus.io"
|
|
ADMIN_SERVICE_API_URL="https://issadminapi.dev.sagaws.net/iss-admin/api/v1/"
|
|
|
|
# API authentication (replace with actual value when running tests)
|
|
CCIS_API_AUTH="undefined" |