Skip to content

Conversation

@kjelko
Copy link
Contributor

@kjelko kjelko commented Jun 27, 2025

Description

Initial implementation of firebase apptesting commands.

Scenarios Tested

We've tested firebase apptesting:init and firebase apptesting:execute through a team bug bash.

Sample Commands

firebase apptesting:init - initializes the project for apptesting
firebase apptesting:execute - executes a suite of tests against a URL

Copy link
Contributor

@joehan joehan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great! Some minor comments but overall LGTM

apiOrigin: appTestingOrigin(),
apiVersion: "v1alpha",
operationResourceName: operationName,
masterTimeout: 30 * 60 * 1000, // 30 minutes
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

30 minutes is quite a long time - what is the usual amount of time these run for?

If it is particularly long (ie 5+ minutes), we probably should call that out in the logs in apphosting-execute.ts

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

5-10 minutes would probably be 'normal', but since this could be a large number of complex integration tests, it's possible it could be longer. I have a generic "this can take a while" message in the execute command, is there something more specific you would want to see there?

@joehan
Copy link
Contributor

joehan commented Jun 27, 2025

Oh, also add an entry to CHANGELOG.md!

@kjelko kjelko changed the title Kjelko/apptesting [feat] initial impl of apptesting Jul 7, 2025
@kjelko kjelko force-pushed the kjelko/apptesting branch from 9e721c9 to 7db0c78 Compare July 8, 2025 14:30
@kjelko kjelko requested a review from joehan July 8, 2025 14:46
@kjelko kjelko merged commit 294c81d into master Jul 11, 2025
63 of 64 checks passed
@kjelko kjelko deleted the kjelko/apptesting branch July 11, 2025 15:29
@github-project-automation github-project-automation bot moved this from Approved [PR] to Done in [Cloud] Extensions + Functions Jul 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants