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: fixed tests after introducing scale property
gmegidish177203c64ef7
diff --git a/test/android.ts b/test/android.tsindex 81d6be9..d890c98 100644--- a/test/android.ts+++ b/test/android.ts@@ -16,7 +16,8 @@ describe("android", () => {const screenSize = await android.getScreenSize();assert.ok(screenSize.width > 1024);assert.ok(screenSize.height > 1024);- assert.equal(Object.keys(screenSize).length, 2, "screenSize should have exactly 2 properties");+ assert.ok(screenSize.scale === 1);+ assert.equal(Object.keys(screenSize).length, 3, "screenSize should have exactly 3 properties");});it("should be able to take screenshot", async function() {diff --git a/test/iphone-simulator.ts b/test/iphone-simulator.tsindex 2b1c6c2..15d10ee 100644--- a/test/iphone-simulator.ts+++ b/test/iphone-simulator.ts@@ -69,7 +69,8 @@ describe("iphone-simulator", () => {const screenSize = await simctl.getScreenSize();assert.ok(screenSize.width > 256);assert.ok(screenSize.height > 256);- assert.equal(Object.keys(screenSize).length, 2, "screenSize should have exactly 2 properties");+ assert.ok(screenSize.scale >= 1);+ assert.equal(Object.keys(screenSize).length, 3, "screenSize should have exactly 3 properties");});it("should be able to get screenshot", async function() {