Skip to content
Draft
Show file tree
Hide file tree
Changes from 52 commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
839bfea
refactor(int): integration tests rewrite
kirstywilliams Dec 20, 2023
59529be
chore: update gitignore
kirstywilliams Jan 4, 2024
bca95fb
feat: integration tests
kirstywilliams Feb 16, 2024
151d196
chore: update readme
kirstywilliams Feb 26, 2024
4405786
feat: Update firebase_admin t0 12.3.0 in sample env
exaby73 Jul 28, 2024
b0b39d6
wip: Integration tests fixes
exaby73 Oct 7, 2024
b01e064
wip(integration-tests): Update .env.example
exaby73 Oct 7, 2024
2270dff
wip(integration-tests): Remove FIRESTORE_REGION
exaby73 Oct 7, 2024
7909e42
remove(integration_test): Storage V1 delete tests
exaby73 Oct 10, 2024
bbf1532
fix(integration_test): Multiple fixes for tests
exaby73 Oct 10, 2024
ae15e04
fix(integration_test): Use bash for source command
exaby73 Oct 31, 2024
28495ec
fix(integration_test): Rename integration_tests to integration_test
exaby73 Oct 31, 2024
747e0c6
fix(integration_test): Use bash for missed source command
exaby73 Oct 31, 2024
8360ae8
fix(integration_test): Runtime for Python
exaby73 Oct 31, 2024
32aeadf
fix(integration_test): Pass DEBUG to CLI env
exaby73 Oct 31, 2024
fa98a7f
refactor: make integration tests more robust
cabljac Aug 6, 2025
05fd26b
refactor: add initial refactor work
cabljac Aug 11, 2025
025b170
feat: setup database tests
HassanBahati Aug 18, 2025
4f7411a
test: add database tests
HassanBahati Aug 18, 2025
7a30831
refactor: use logger class
HassanBahati Aug 18, 2025
8930977
tests: add v1 database functions
HassanBahati Aug 18, 2025
5c94d12
tests: fix tests
HassanBahati Aug 20, 2025
bf828c0
chore(integration_tests): fix linting errors
cabljac Aug 29, 2025
7d7f856
feat: add simple cleanup script
cabljac Aug 29, 2025
55ba8a6
refactor(integration_test): factor out into smaller modules
cabljac Sep 1, 2025
089bb33
chore: design simpler approach
cabljac Sep 15, 2025
0a6358f
feat(integration_test): declarative version
cabljac Sep 15, 2025
6424ad8
feat(integration_test): declare project id
cabljac Sep 15, 2025
7c00293
feat(integration_test): full flow
cabljac Sep 15, 2025
e8d1129
feat(integration_test): add README and exp backoff utils
cabljac Sep 16, 2025
00e4b55
chore(integration_test): smaller test run id
cabljac Sep 16, 2025
f1edb3d
feat(integration_test): add service to declaration yaml
cabljac Sep 16, 2025
5a30cee
feat(integration_test): migrate database tests
cabljac Sep 16, 2025
110704d
feat(integration_test): migrate pubsub tests
cabljac Sep 16, 2025
5c85e84
feat(integration_test): migrate other v1 tests
cabljac Sep 16, 2025
a3f9021
fix(integration_tests): fix firestore tests
cabljac Sep 16, 2025
0fc16bd
fix(integration_tests): fix storage tests
cabljac Sep 17, 2025
68ebad0
feat(integration_test): sequential runs
cabljac Sep 17, 2025
a78853b
fix(integration_tests): fix tasks v1
cabljac Sep 17, 2025
26c8cbd
chore(integration_test): skip testlab for now
cabljac Sep 17, 2025
c83c039
feat(integration_test): migrate v2 tests
cabljac Sep 17, 2025
0914b94
feat: migrate remaining tests across and fix existing
cabljac Sep 22, 2025
143dbb3
refactor(integration_tests): combine suite configs
cabljac Sep 22, 2025
123686d
fix(integration_tests): fix auth v1 tests
cabljac Sep 22, 2025
ab3260b
refactor(integration_tests): move to a node script
cabljac Sep 23, 2025
631e75f
fix(integration_tests): fix deployment issues in node script
cabljac Sep 24, 2025
9102f1b
fix(integration_tests): fix listed v2 projects
cabljac Sep 24, 2025
8d3e563
refactor(integration_tests): replace legacy framework
cabljac Sep 24, 2025
498c51a
fix(integration_tests): permissions and task queue cleanup
cabljac Sep 24, 2025
1584e07
refactor(integration_tests): keep project id declaration in yaml
cabljac Sep 24, 2025
1af4029
refactor(integration_test): split across different cloudbuilds
cabljac Sep 24, 2025
f96ba43
fix(integration_tests): scope cleanup to declared project
cabljac Sep 24, 2025
cfb9611
refactor(integration_tests): remove legacy integration_test cloudbuil…
cabljac Sep 24, 2025
ece2567
fix(integration_tests): restore original linting setup
cabljac Sep 24, 2025
67a4088
fix: exponential backoff and more robust deletion
cabljac Sep 29, 2025
036444d
fix(integration_test): verify that services are properly torn down
cabljac Sep 29, 2025
11f38aa
chore(integration_test): skip some tests that are currently broken, a…
cabljac Sep 29, 2025
494e814
fix(integration_test): add delay before running tests
cabljac Sep 29, 2025
ecb4b21
fix(integration_tests): fix alert template
cabljac Sep 29, 2025
8d0de16
fix(integration_test): create bucket for results if doesn't exist
cabljac Sep 30, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ node_modules
/spec/fixtures
/scripts/**/*.js
/protos/
integration_test/scripts/generate.js
6 changes: 3 additions & 3 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ module.exports = {
overrides: [
{
files: ["*.ts"],
parserOptions: {
project: "tsconfig.json",
},
rules: {
"jsdoc/require-param-type": "off",
"jsdoc/require-returns-type": "off",
Expand Down Expand Up @@ -62,9 +65,6 @@ module.exports = {
},
],
globals: {},
parserOptions: {
project: "tsconfig.json",
},
plugins: ["prettier", "@typescript-eslint", "jsdoc"],
parser: "@typescript-eslint/parser",
};
19 changes: 19 additions & 0 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
steps:
- name: "node:18"
id: "Install dependencies"
dir: "integration_test"
entrypoint: "npm"
args: ["install"]
- name: "node:18"
id: "Set Project ID"
dir: "integration_test"
entrypoint: "npx"
args: ["firebase", "use", "cf3-integration-tests-d7be6"]
- name: "node:18"
id: "Run tests"
dir: "integration_test"
entrypoint: "npm"
args: ["start"]

options:
defaultLogsBucketBehavior: REGIONAL_USER_OWNED_BUCKET
24 changes: 24 additions & 0 deletions integration_test/.gcloudignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# .gcloudignore for integration test Cloud Build
# Include all files needed for the build

# Ignore node_modules as we'll install them fresh
node_modules/
generated/

# Ignore local auth files (we'll use secrets instead)
sa.json
sa-v2.json
test-config.json

# Ignore local test artifacts
test_failures.txt
*.log

# Keep git info for reference
.git
.gitignore

# Ignore temp files
*.tmp
*~
.DS_Store
8 changes: 8 additions & 0 deletions integration_test/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
node_modules/
generated/
.test-artifacts/
*.log
.DS_Store
package-lock.json
firebase-debug.log
sa.json
Loading
Loading