change default to local
This commit is contained in:
Родитель
55dfa74238
Коммит
ec282f092a
|
@ -71,7 +71,7 @@ jobs:
|
|||
- name: Run Playwright tests
|
||||
run: npm run e2e --workspace=src
|
||||
env:
|
||||
E2E_TEST_ENV: ${{ inputs.environment != null && inputs.environment || 'dev' }}
|
||||
E2E_TEST_ENV: ${{ inputs.environment != null && inputs.environment || 'local' }}
|
||||
E2E_TEST_BASE_URL: ${{ secrets.E2E_TEST_BASE_URL }}
|
||||
E2E_TEST_ACCOUNT_EMAIL: ${{ secrets.E2E_TEST_ACCOUNT_EMAIL }}
|
||||
E2E_TEST_ACCOUNT_PASSWORD: ${{ secrets.E2E_TEST_ACCOUNT_PASSWORD }}
|
||||
|
|
|
@ -16,7 +16,7 @@ export const ENV_URLS = {
|
|||
}
|
||||
|
||||
export const setEnvVariables = async (email) => {
|
||||
process.env.E2E_TEST_ENV = process.env.E2E_TEST_ENV || 'stage'
|
||||
process.env.E2E_TEST_ENV = process.env.E2E_TEST_ENV || 'local'
|
||||
process.env.E2E_TEST_ACCOUNT_EMAIL = email
|
||||
process.env.E2E_TEST_BASE_URL = ENV_URLS[process.env.E2E_TEST_ENV] || 'https://stage.firefoxmonitor.nonprod.cloudops.mozgcp.net'
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче