Skip to content

test: make live /tools smoke test opt-in so it doesn't gate CI#18

Closed
smellouk wants to merge 1 commit into
mainfrom
fix/tools-smoke-optin
Closed

test: make live /tools smoke test opt-in so it doesn't gate CI#18
smellouk wants to merge 1 commit into
mainfrom
fix/tools-smoke-optin

Conversation

@smellouk

Copy link
Copy Markdown
Owner

Follow-up to #17.

toolsPage_selfClosingPopup_smoke targets the live shellify.app/tools page. Because a PR can't update the deployed page before it merges, the smoke test fails on CI whenever the live page hasn't yet been updated to the about:blank popup pattern (window.open() to a data: URL is blocked by Chromium → popup count stays 0). It shouldn't gate the build.

This gates the test behind an instrumentation argument — skipped by default (CI green), runnable on demand:

./gradlew connectedDebugAndroidTest \
  -Pandroid.testInstrumentationRunnerArguments.runToolsSmokeTest=true

The hermetic engine popup tests (self-close, opener round-trip, show/dismiss) are unchanged and keep running on every build.

The smoke test targets the live shellify.app/tools page, which a PR can't
update before merge — so it would always fail on the PR that fixes the page.
Gate it behind the runToolsSmokeTest instrumentation arg: skipped by default
(CI green), run on demand with -e runToolsSmokeTest true.
@smellouk smellouk closed this Jun 15, 2026
@smellouk smellouk deleted the fix/tools-smoke-optin branch June 15, 2026 10:49
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.

1 participant