You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The v2_identity tests are currently skipped due to issues with Identity Platform blocking functions not triggering correctly in the test environment. These tests deploy successfully but the blocking functions (beforeUserCreated, beforeUserSignedIn) don't execute when users are created programmatically, possibly due to:
170
+
171
+
- Missing Identity Platform configuration in the test project
172
+
- Blocking functions requiring specific enablement steps
173
+
- Test authentication method not triggering blocking functions
174
+
175
+
These tests remain in the codebase but are marked with `describe.skip()` until the underlying issue is resolved.
176
+
167
177
## Architecture
168
178
169
179
```
170
-
integration_test_declarative/
180
+
integration_test/
171
181
├── config/
172
182
│ ├── v1/
173
183
│ │ └── suites.yaml # All v1 suite definitions
@@ -296,8 +306,6 @@ npm run cloudbuild:v2
296
306
297
307
# Run both V1 and V2 tests in parallel
298
308
npm run cloudbuild:both
299
-
# or
300
-
npm run cloudbuild:all
301
309
```
302
310
303
311
### Generate Functions Only
@@ -349,9 +357,9 @@ Add templates in `config/templates/functions/` for new trigger types.
349
357
350
358
Create `tests/your_suite.test.ts` with Jest tests.
351
359
352
-
### 4. Update run-suite.sh
360
+
### 4. Add Test File
353
361
354
-
Add test file mapping in the case statement (lines 175-199).
362
+
Create `tests/your_suite.test.ts` with Jest tests for your new suite.
355
363
356
364
## Environment Variables
357
365
@@ -363,7 +371,7 @@ Add test file mapping in the case statement (lines 175-199).
363
371
364
372
### Local Development
365
373
366
-
Place your service account key at `sa.json` in the root directory. This file is git-ignored.
374
+
Place your service account key at `sa.json` in the integration_test directory. This file is git-ignored.
0 commit comments