Repository navigation
Bind Mac Edge media checks to one window and retry after idle - #54
Open
Brian Krabach (bkrabach) wants to merge 4 commits into
Open
Brian Krabach (bkrabach) wants to merge 4 commits into
Brian Krabach (bkrabach) wants to merge 4 commits into
Conversation
…eserve explicit Stop
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.
Refs #53.
The Mac fixture retains the dedicated Edge process, original window, media document and optional companion tab. A target-side launcher can register that fixture on the remote runner. The controller sends a named media action under its existing session. Activity postpones input until the original window is active and the Mac has been quiet for five seconds. A lost acknowledgement ends the step. A fixture runner rejects general desktop input.
An explicit overlay Stop is stored separately so later activity cannot overwrite it. The historical host-wide pause still blocks a new live run. The normal SSH runner now accepts a configured loopback media URL. An admitted step starts a dedicated Edge instance without requesting activation, and checks its original process, private profile, window and document. On the Mac, the wheel-installed runner negotiated fixture support with the matching target payload and confirmed both desktop permissions. A read-only preflight sampled 40.7 seconds of idle time and still observed the pre-existing host halt, before any browser launch. The binding and native media actions have not yet been exercised in a visible window.
The fixture supports native media buttons, volume actions and switching between two enrolled tabs. Browser keyboard zoom is still open. On macOS, 15 Command-plus shortcut events reached only the intended page in an isolated headless Edge experiment. Browser zoom stayed at 100%. The visible MP4, background GIF and 200% zoom checks have no device result.
Tests cover remote dispatch, idle retry, stale sessions, sticky Stop and uncertain delivery. The Mac accessibility and input tests use controlled objects. They demonstrate the controller behavior separately from the three physical checks.
Local targeted tests passed (243). CI on the runner change passed.