From 7e9d471d26f93d453304fa96f490080b9d02fe92 Mon Sep 17 00:00:00 2001 From: maguire-arman Date: Tue, 15 Jul 2025 09:24:01 -0400 Subject: [PATCH] Cleans up environment files Removes the unnecessary .env.example file and consolidates configurations. Simplifies environment management and reduces potential confusion. --- playwright-tests/.env | 9 ++++++++- playwright-tests/.env.dev | 3 ++- playwright-tests/.env.example | 34 +++++++++++++++++++++------------- 3 files changed, 31 insertions(+), 15 deletions(-) diff --git a/playwright-tests/.env b/playwright-tests/.env index 166dea341..5f37c7ddf 100644 --- a/playwright-tests/.env +++ b/playwright-tests/.env @@ -4,9 +4,16 @@ # Environment type NODE_ENV="qa" -# Base URLs by environment (uncomment the one you need) +# Skip content site +SKIP_CONTENT_SITE=false + +# Base URLs by environment # qa BASE_URL="https://www-qa2.safelite.com/" +# local version of FMG (after running the local server) +# BASE_URL="http://localhost:8080/fmg/" +# qa with skipToInsurance Turned Off +# BASE_URL="https://fixmyglassqa.safelite.com/?cns=all&experiments=ConceptFunnel=ConceptFunnel_V1=ConceptFunnel_VinAndEmailOptional=true,NextGen_IGQSkipToInsurance=NextGen_IGQSkipToInsurance_V1=NextGen_IGQSkipToInsurance_CONTROL=true" # sys # BASE_URL="https://www-test2.safelite.com/fmg/?fmgPage=vehicle" # dev diff --git a/playwright-tests/.env.dev b/playwright-tests/.env.dev index 76f1b93ae..0f8e62d0c 100644 --- a/playwright-tests/.env.dev +++ b/playwright-tests/.env.dev @@ -4,9 +4,10 @@ # Environment type NODE_ENV="qa" +# Skip content site SKIP_CONTENT_SITE=false -# Base URLs by environment (uncomment the one you need) +# Base URLs by environment # qa BASE_URL="https://www-qa2.safelite.com/" # local version of FMG (after running the local server) diff --git a/playwright-tests/.env.example b/playwright-tests/.env.example index f6eff5279..5f37c7ddf 100644 --- a/playwright-tests/.env.example +++ b/playwright-tests/.env.example @@ -1,21 +1,29 @@ -# .env.example +# .env # Environment configuration -# Environment type (uncomment one) -NODE_ENV="dev" -# NODE_ENV="qa" -# NODE_ENV="sys" +# Environment type +NODE_ENV="qa" -# Base URLs by environment (uncomment the one you need) -BASE_URL="https://selfservice.dev.glassclaim.com" -# BASE_URL="https://selfservice.test.glassclaim.com" -# BASE_URL="https://www-test2.safelite.com/fmg/?fmgPage=vehicle" +# Skip content site +SKIP_CONTENT_SITE=false -# API endpoints (uncomment to match your BASE_URL) -CCIS_API_URL="https://api.test.belronus.io" +# Base URLs by environment +# qa +BASE_URL="https://www-qa2.safelite.com/" +# local version of FMG (after running the local server) +# BASE_URL="http://localhost:8080/fmg/" +# qa with skipToInsurance Turned Off +# BASE_URL="https://fixmyglassqa.safelite.com/?cns=all&experiments=ConceptFunnel=ConceptFunnel_V1=ConceptFunnel_VinAndEmailOptional=true,NextGen_IGQSkipToInsurance=NextGen_IGQSkipToInsurance_V1=NextGen_IGQSkipToInsurance_CONTROL=true" +# 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" -# Admin service API URL +# 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="" \ No newline at end of file +CCIS_API_AUTH="undefined"