Skip to content

Add cloud URL and app binary ID to HTML report#3260

Open
mikamikaWolt wants to merge 2 commits intomobile-dev-inc:mainfrom
mikamikaWolt:feat/cli-add-cloud-run-url-to-html-report
Open

Add cloud URL and app binary ID to HTML report#3260
mikamikaWolt wants to merge 2 commits intomobile-dev-inc:mainfrom
mikamikaWolt:feat/cli-add-cloud-run-url-to-html-report

Conversation

@mikamikaWolt
Copy link
Copy Markdown

@mikamikaWolt mikamikaWolt commented May 5, 2026

Summary

  • include Maestro Cloud upload metadata (cloudUploadUrl, appBinaryId) in TestExecutionSummary so report renderers can access it
  • pass cloud URL and app binary ID through cloud execution reporting (CloudInteractor)
  • render a footer info block in the HTML report with bold labels, cloud URL link, and app binary id
  • keep local maestro test behavior unchanged by not merging cloud metadata in local summary aggregation and by rendering the footer only when a cloud URL is present

Test plan

  • Run maestro cloud ... --format html and confirm report includes a cloud URL link and app binary ID at the bottom
  • Run non-cloud local maestro test --format html and confirm report layout is unchanged

Comment on lines +703 to +705
totalTests = sumOf { it.totalTests ?: 0 },
cloudUploadUrl = acc.cloudUploadUrl ?: summary.cloudUploadUrl,
appBinaryId = acc.appBinaryId ?: summary.appBinaryId,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I don't think that this route can lead to a summary with a cloudUploadUrl or an appBinaryId. You'd only get here via maestro test ...

testSuiteName = testSuiteName,
uploadUrl = uploadUrl,
projectId = projectId,
appBinaryId = appBinaryIdResponse,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think this should work for tests where you pass an existing app-binary-id to maestro cloud, but worth explicitly adding to your test plan.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Verified both options:

  • maestro cloud --app-binary-id <id> ... (existing binary)
  • maestro cloud <app-file> ... (upload new binary)

In both cases, HTML report footer contains:

  • View details on Maestro Cloud URL
  • App binary id value

Remove cloud metadata merging from local `maestro test` summary aggregation and only render the HTML footer when a cloud upload URL is present.

Co-authored-by: Cursor <cursoragent@cursor.com>
@mikamikaWolt mikamikaWolt requested a review from Fishbowler May 6, 2026 08:26
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.

2 participants