Repository navigation
feat(apple): support watchOS simulators through the XCUITest runner #4752
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
f1e3508
feat(apple-runner): build the XCUITest runner for the watchOS simulator
thymikee 7f0d8dc
feat(apple): admit watchOS simulators through one watch fact leaf
thymikee d1e5e1e
docs: document watchOS simulators and amend ADR 0009
thymikee 02d59df
fix(apple): harden the watchOS runner paths and watch classification
thymikee 649f61b
fix(apple): keep the snapshot-presentation manifests on SwiftPM's wat…
thymikee 1f3c8ca
fix(command-surface): keep the watchOS scroll note in CLI help only
thymikee 0f87fee
fix(apple): bind only the operations a watch admits
thymikee be30bda
fix(apple): apply the watch admission to the runner seam and correct …
thymikee e852f0b
ci(apple): compile the watchOS runner on runner-owning PRs
thymikee 7a133ca
fix(apple): refuse an undispatched watch back tap and test the runner…
thymikee 4141dd9
fix(apple): bound the idle wait of the watchOS edge-swipe drags
thymikee 25a0267
fix(apple): verify the watchOS back swipe and the input sheet commit
thymikee 9591e88
fix(apple): compare the watchOS screen by structure when verifying back
thymikee 6806bc1
fix(apple): drop the watchOS back edge-swipe fallback
thymikee 03b1dbb
fix(apple): refuse watch typing when the field tap was not dispatched
thymikee f1b2791
fix(apple-runner): press the watchOS Digital Crown without bringing t…
thymikee 485ab86
fix(apple-runner): keep watchOS hardware presses on the presented sur…
thymikee ac8d720
fix(apple-runner): name Apple Watch Ultra in the watchOS action-butto…
thymikee 47676bf
fix(apple-runner): confirm the watchOS back-button press changed the …
thymikee 4ae2e56
refactor(apple-runner): share synthesized sample dispatch with iOS an…
thymikee File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
12 changes: 12 additions & 0 deletions
12
apple/runner/AgentDeviceRunner/AgentDeviceRunner/AgentDeviceRunnerWatchApp.swift
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| import SwiftUI | ||
|
|
||
| /// The watchOS host the runner's XCTest bundle launches. The runner drives other apps by bundle ID, | ||
| /// so the host shows only its title, like the UIKit host on the other Apple OSes. | ||
| @main | ||
| struct AgentDeviceRunnerWatchApp: App { | ||
| var body: some Scene { | ||
| WindowGroup { | ||
| Text("Agent Device Runner") | ||
| } | ||
| } | ||
| } |
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.