File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -157,6 +157,10 @@ jobs:
157157 ' mockEnabled: '"$SF_TEST_MOCKENABLED" \
158158 '};' > tests/e2e/test-constants.local.js
159159
160+ - name : Ensure test constants exist (fallback when auth step skipped)
161+ if : vars.SF_TEST_MOCKENABLED != 'false'
162+ run : cp tests/e2e/test-constants.template.js tests/e2e/test-constants.local.js
163+
160164 - name : Install dependencies
161165 run : npm ci
162166
Original file line number Diff line number Diff line change 33 * Copy this file to test-constants.local.js and fill in real values,
44 * or run: npm run set-test-constants
55 *
6- * test-constants.local.js is gitignored and will never be committed.
6+ * test-constants.local.js is gitignored. This template is used as fallback in CI
7+ * when .local is absent (mock mode).
78 */
89export const TEST_CONSTANTS = {
910 mockHost : "mock-host.salesforce.com" ,
You can’t perform that action at this time.
0 commit comments