This guide contains manual quality assurance tests to make sure all the tools in this MCP server is functional on release.
You can run a test case copy and pasting the test case into a chat in an MCP client (like Cursor) that can run MCP tools.
Note: This test case was written using iOS 17.2 and the native Photos app. It may need to be adjusted for other iOS versions or Photos app changes.
- Have the user open the native Photo app in the iOS simulator.
- Call
get_booted_sim_idsto get the UDID, name, and iOS version of the booted simulators, choose the simulator under test, and keep that UDID handy for the recording steps below. - Call
record_videowith the chosen simulator UDID to start recording a screen recording of the test. - Call
ui_describe_allwith the chosen simulator UDID to make sure we are on the All Photos tab. - Call
ui_find_elementwith the chosen simulator UDID and{ "search": ["Search"], "type": "Button" }to find the Search tab button by its label. - Call
ui_describe_pointwith the chosen simulator UDID to verify the coordinates returned byui_find_elementfor the Search tab button. - Call
ui_tapwith the chosen simulator UDID to tap the Search tab button. - Call
ui_tapwith the chosen simulator UDID to focus on the Search text input. - Call
ui_typewith the chosen simulator UDID to type "Photos" into the Search text input. - Call
ui_describe_allwith the chosen simulator UDID to describe the page and find the first photo result. - Call
ui_describe_pointwith the chosen simulator UDID to find the x and y coordinates for the first photo result touchable area. - Call
ui_tapwith the chosen simulator UDID to tap the coordinates of the first photo result touchable area. - Call
ui_swipe_wdawith the chosen simulator UDID to swipe from the center of the screen down to dismiss the photo and go back to the All Photos tab. If WebDriverAgent is not already running, includerestore_app_bundle_idfor the foreground app so it can be restored after launch. - Call
ui_describe_allwith the chosen simulator UDID to describe the page and see we are the All Photos tab. - Call
screenshotwith the chosen simulator UDID to take a screenshot of the current page. - Call
read_screenwith the chosen simulator UDID to view the current page. - Call
stop_recordingwith the same simulator UDID to stop the screen recording.
Note: Run this on an iPad simulator and rotate the Simulator window to landscape before starting.
- Have the user open the iPad Simulator in landscape and show the Home Screen or Photos app.
- Call
get_booted_sim_idsand pick the landscape simulator under test by its name and iOS version. - Call
read_screenwith the chosen simulator UDID and verify the returned image is landscape-shaped and matches the presented Simulator orientation. - Call
ui_describe_allwith the chosen simulator UDID and confirm the rootframedimensions are landscape-oriented. - Call
ui_find_elementwith the chosen simulator UDID to locate a visible element in the current landscape view. - Use the returned frame coordinates with
ui_tapand the chosen simulator UDID to verify the visible element is activated. - Call
ui_describe_pointwith the chosen simulator UDID and a point chosen from the visible landscape image, then confirm it identifies the expected element. - Call
ui_swipe_legacywith the chosen simulator UDID and a vertical swipe in the visible landscape image, then confirm the gesture moves in the expected on-screen direction. - Call
screenshotwith the chosen simulator UDID and verify the saved file matches the same presented landscape orientation asread_screen.