diff --git a/.github/workflows/e2e-playwright.yaml b/.github/workflows/e2e-playwright.yaml index 4d0ba913e..7d9eb3234 100644 --- a/.github/workflows/e2e-playwright.yaml +++ b/.github/workflows/e2e-playwright.yaml @@ -72,7 +72,7 @@ jobs: - name: Generate Fake Playwright User Password id: generate-password run: | - PASSWORD=$(cat <(openssl rand -base64 32 | tr -dc 'a-zA-Z0-9!@#$%^&*()_+-=[]{}|;:,.<>?' | head -c 20 | sed 's/\(.\{5\}\)/\1!@/g' | head -c 22)) + PASSWORD=$(cat <(openssl rand -base64 32 | tr -dc 'a-zA-Z0-9!@#$%^&*()_+-=[]{}|;:,.<>?' | head -c 20) <(echo '!@1Aa') | fold -w1 | shuf | tr -d '\n') echo "::add-mask::$PASSWORD" echo "FAKE_E2E_USER_PASSWORD=$PASSWORD" >> $GITHUB_ENV @@ -120,7 +120,9 @@ jobs: cp src/leapfrogai_ui/.env.example src/leapfrogai_ui/.env mkdir -p playwright/auth touch playwright/auth.user.json - SERVICE_ROLE_KEY=$(uds zarf tools kubectl get secret -n leapfrogai supabase-bootstrap-jwt -o jsonpath={.data.service-key} | base64 -d) TEST_ENV=CI USERNAME=doug PASSWORD=$FAKE_E2E_USER_PASSWORD PUBLIC_SUPABASE_ANON_KEY=$ANON_KEY npm --prefix src/leapfrogai_ui run test:integration:ci + SERVICE_ROLE_KEY=$(uds zarf tools kubectl get secret -n leapfrogai supabase-bootstrap-jwt -o jsonpath={.data.service-key} | base64 -d) + echo "::add-mask::$SERVICE_ROLE_KEY" + SERVICE_ROLE_KEY=$SERVICE_ROLE_KEY TEST_ENV=CI USERNAME=doug PASSWORD=$FAKE_E2E_USER_PASSWORD PUBLIC_SUPABASE_ANON_KEY=$ANON_KEY npm --prefix src/leapfrogai_ui run test:integration:ci # Upload the Playwright report as an artifact - name: Archive Playwright Report diff --git a/src/leapfrogai_ui/src/lib/components/ImportExport.svelte b/src/leapfrogai_ui/src/lib/components/ImportExport.svelte index bfee2b0ec..4be7eddd6 100644 --- a/src/leapfrogai_ui/src/lib/components/ImportExport.svelte +++ b/src/leapfrogai_ui/src/lib/components/ImportExport.svelte @@ -1,6 +1,6 @@