Mobile MCP: let AI agents drive your iOS and Android apps. MCP server for simulators, emulators and real devices. Works with Claude Code, Codex, Cursor and any MCP client.
TypeScript agentandroidandroid-automationappium-alternativeclaude-codecodexcursoremulatoriosios-automationmcpmcp-servermobilemobile-automationmobile-testingreal-devicesimulatorskills
test: swiping direction was incorrect
gmegidish0ef4d0b3482b
diff --git a/test/iphone-simulator.ts b/test/iphone-simulator.tsindex 10c7329..33bf66f 100644--- a/test/iphone-simulator.ts+++ b/test/iphone-simulator.ts@@ -33,15 +33,15 @@ describe("iphone-simulator", () => {const elements1 = await simctl.getElementsOnScreen();assert.ok(elements1.findIndex(e => e.name === "com.apple.settings.general") !== -1);- // swipe down- await simctl.swipe("down");+ // swipe up (bottom of screen to top of screen)+ await simctl.swipe("up");// make sure "General" is not visible nowconst elements2 = await simctl.getElementsOnScreen();assert.ok(elements2.findIndex(e => e.name === "com.apple.settings.general") === -1);- // swipe up- await simctl.swipe("up");+ // swipe down+ await simctl.swipe("down");// make sure "General" is visible againconst elements3 = await simctl.getElementsOnScreen();