Add URL scheme UI tests for deep link navigation

Test yattee:// custom scheme URLs navigate to correct screens:
playlists, bookmarks, history, downloads, channels, subscriptions,
continue-watching, and search. Handles iOS system confirmation dialog
via coordinate taps since it's invisible to AXe. Settings deep link
is excluded (known app bug - doesn't render when pushed to nav stack).
This commit is contained in:
Arkadiusz Fal
2026-02-10 05:45:19 +01:00
parent 9cd9506dcf
commit cae1226cfe
2 changed files with 400 additions and 0 deletions

View File

@@ -35,6 +35,14 @@ module UITest
udid
end
# Open a URL in the simulator (triggers deep link handling)
# @param udid [String] UDID of the simulator
# @param url [String] URL to open
def open_url(udid, url)
output, status = Open3.capture2e('xcrun', 'simctl', 'openurl', udid, url)
raise SimulatorError, "openurl failed: #{output}" unless status.success?
end
# Shutdown a simulator by UDID
# @param udid [String] UDID of the simulator
def shutdown(udid)