Repository navigation
Hooks: app_hook in every language, and its capture on MobiumApp - #8
Merged
Merged
Conversation
mobium hook raiseToast "Toast raised by test script" on an Android 15 emulator launched with --gray-box: the app's own toast, drawn at the top of the screen, says what the hook was sent.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
app_hookarrives in Mobium (mobiumdev/mobium#135): a test calls a function theapp registered with its gray-box library, by name, and gets back what it answered.
mobium hook raiseToast "Toast raised by test script",with its translation in all five clients.
capture.pygains its plan entry; the capture is on a Pixel 7 emulator(Android 15), MobiumApp launched with
--gray-box: the app's own toast at thetop says what the hook was sent, and Android's system toast below it.
data/runs.jsongains the run's verbatim output.Checked locally: every example in all five languages, and the site builds.