Log in to a test store on an iOS simulator. Use live-store DEBUG login by default, WireMock when mocks are requested, and the specified store for "my site".
中文简介正在准备中。当前显示原文说明。
Verify a requested app flow or changed feature on an iOS simulator with UI evidence. Reuse a suitable session or set up mocks by default.
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Build the app, launch it on the iOS simulator, and verify the affected feature areas work correctly by navigating the UI and checking for expected elements.
Read .claude/references/screen-identifiers.md to understand how to identify screens and navigate between them.
Reuse a suitable session. When setup is needed, use WireMock unless the task requests or requires a live store.
Follow /auto-login mocks for mocked setup or /auto-login for live-store setup.
For authentication tests, use logout-at-launch and the login UI; skip session reuse and the DEBUG shortcut.
Before setting up anything, determine what's already available:
xcrun simctl list devices booted | grep iPhone)xcrun simctl listapps <UDID> 2>/dev/null | grep com.automattic.woocommerce)Most verification happens during development where the simulator has a current build and an active session. In this case, you only need to build your changes and re-launch — no mock server or login flow needed.
For an existing suitable session, skip Step 3. Use mock-specific launch arguments only for WireMock.
Use the user's requested flow first. For changed features, collect paths from the committed
diff against the requested base, staged changes, unstaged changes, and relevant untracked files.
Use the parent branch as the base for stacked work; otherwise use trunk.
Match these paths against .claude/references/feature-map.json. If no paths match,
verify the explicitly requested flow. If no flow is requested, report the unmatched paths
and the verification gap instead of claiming success.
New live session: prepare the selected site's plugins, data, and protected credentials through /auto-login.
Mocked environment: use /mocks to start this checkout's WireMock fixtures. Confirm the fixture
root before reusing a server. If another checkout owns port 8282, use a separate port and the API
override below. Preserve servers started by other tasks.
Use the /simulator skill approach to discover a booted simulator UDID.
xcodebuild -workspace WooCommerce.xcworkspace -scheme WooCommerce \
-destination "platform=iOS Simulator,id=<UDID>" \
build > <task-build-log> 2>&1
Check the exit status and retain the full log outside the repository. If the build fails, report the first error. Verification of code changes requires a successful current build.
Install the built app on the selected simulator with xcrun simctl install <UDID> <path-to-.app>.
Locate that build's app using the WooCommerce target's TARGET_BUILD_DIR and FULL_PRODUCT_NAME
from xcodebuild -showBuildSettings with the same workspace, scheme, and destination.
For a new live session outside authentication tests, follow /auto-login to launch and confirm
loaded data.
If using mocked environment, collect launch arguments:
logout-at-launch, disable-animations, mocked-wpcom-api, -ui_testing, -mocks-port, 8282launchArgs from feature-map.jsonhttps://yourwoosite.com, email t@wp.com, password pw..claude/references/screen-identifiers.md.For a separate port, omit mocked-wpcom-api (it fixes the API port at 8282), set
SIMCTL_CHILD_wpcom-api-base-url=http://localhost:<port>/ for each launch, and set -mocks-port <port>.
Pass the hyphenated API variable through env when invoking xcrun.
-mocks-port alone changes resource URLs, not the WordPress.com API endpoint.
Launch using xcrun simctl launch (supports launch arguments, unlike mobile-mcp's launch_app):
xcrun simctl launch <UDID> com.automattic.woocommerce <all-args-space-separated>
If reusing a live session, launch without mock args. For a mocked session, retain its mock flags
and API override, but omit logout-at-launch:
xcrun simctl launch <UDID> com.automattic.woocommerce
Wait 5 seconds for the app to settle.
Read the available mobile-mcp tool schemas. Confirm the target device with a simctl screenshot before interaction; follow .claude/rules/verification.md for helper or device mismatches.
Consult .claude/references/screen-identifiers.md for screen identification, element lookup, and navigation flows (including login flow when using mocked environment).
For each matched feature from the feature map:
verifyElements from feature-map.json are presentinteractions — execute each actionSummarize:
xcrun simctl terminate <UDID> com.automattic.woocommerce
Stop only the mock server started by this task, using /mocks with its selected port.
还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Log in to a test store on an iOS simulator. Use live-store DEBUG login by default, WireMock when mocks are requested, and the specified store for "my site".
中文简介正在准备中。当前显示原文说明。
Install dependencies and build tools for WooCommerce iOS
中文简介正在准备中。当前显示原文说明。
Debug a failing test or build error in WooCommerce iOS
中文简介正在准备中。当前显示原文说明。
Run SwiftLint on the WooCommerce iOS project
中文简介正在准备中。当前显示原文说明。
Start or stop the WireMock API mock server for UI testing and E2E verification.
中文简介正在准备中。当前显示原文说明。
Create a pull request following WooCommerce iOS conventions
中文简介正在准备中。当前显示原文说明。