From 6318885709266cc01eb494254e3a7cc347c654aa Mon Sep 17 00:00:00 2001 From: gmegidish Date: Sat, 1 Aug 2026 17:53:56 +0200 Subject: [PATCH 1/3] docs: changelog for 1.0.0 --- CHANGELOG.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 73724e1..d1f9e18 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,13 @@ +## [1.0.0](https://github.com/mobile-next/mobilecli/releases/tag/1.0.0) (2026-08-01) +* Fix(ios): Find the right iOS resigner matching provisioning profile ([#325](https://github.com/mobile-next/mobilecli/pull/325)) +* Feat(android): Report selected state in Android UI dump ([#320](https://github.com/mobile-next/mobilecli/pull/320)), thanks to [@sjy](https://github.com/sjy) +* Fix(android): Add timeout on getprop in case adbd needs a kill-server ([#322](https://github.com/mobile-next/mobilecli/pull/322)) +* Fix(ios): Correct iOS UI dump positions for elements in nested windows ([#321](https://github.com/mobile-next/mobilecli/pull/321), [devicekit-ios#55](https://github.com/mobile-next/devicekit-ios/pull/55)) +* Fix(ios): Restore Xcode 26.5 testing support and fix simulator agent version checks and upgrades ([#324](https://github.com/mobile-next/mobilecli/pull/324), [devicekit-ios#57](https://github.com/mobile-next/devicekit-ios/pull/57)) + ## [0.3.89](https://github.com/mobile-next/mobilecli/releases/tag/0.3.89) (2026-07-30) * Feat: Add windows arm64 build ([#314](https://github.com/mobile-next/mobilecli/pull/314), closes [#305](https://github.com/mobile-next/mobilecli/issues/305)) -* Feat: Report enabled and checked state in android ui dump ([#317](https://github.com/mobile-next/mobilecli/pull/317), see [mobilewright#252](https://github.com/mobile-next/mobilewright/pull/252)) +* Feat(android): Report enabled and checked state in android ui dump ([#317](https://github.com/mobile-next/mobilecli/pull/317), see [mobilewright#252](https://github.com/mobile-next/mobilewright/pull/252)) * Docs: How to run e2e tests ([#316](https://github.com/mobile-next/mobilecli/pull/316)) ## [0.3.88](https://github.com/mobile-next/mobilecli/releases/tag/0.3.88) (2026-07-29) From ff57c9429cf66fcbe7f9fc2aa93bedfa1fce7614 Mon Sep 17 00:00:00 2001 From: gmegidish Date: Sat, 1 Aug 2026 18:22:25 +0200 Subject: [PATCH 2/3] loosened tests a bit --- test/server.spec.ts | 33 --------------------------------- 1 file changed, 33 deletions(-) diff --git a/test/server.spec.ts b/test/server.spec.ts index 97242b3..03fc4b2 100644 --- a/test/server.spec.ts +++ b/test/server.spec.ts @@ -382,31 +382,6 @@ test.describe('rpc methods against a live device', () => { result.forEach(expectAppShape); }); - test('device.apps.launch and device.apps.foreground should agree', async () => { - test.skip(!device, 'no device found'); - - const bundleId = settingsPackageFor(device!.platform); - await rpcExpectResult('device.apps.launch', {deviceId: device!.id, bundleId}); - await sleep(5000); - - const foreground = await rpcExpectResult('device.apps.foreground', {deviceId: device!.id}); - expectForegroundAppShape(foreground); - expect(foreground.packageName).toBe(bundleId); - }); - - test('device.apps.terminate should stop the running app', async () => { - test.skip(!device, 'no device found'); - - const bundleId = settingsPackageFor(device!.platform); - await rpcExpectResult('device.apps.launch', {deviceId: device!.id, bundleId}); - await sleep(5000); - await rpcExpectResult('device.apps.terminate', {deviceId: device!.id, bundleId}); - await sleep(3000); - - const foreground = await rpcExpectResult('device.apps.foreground', {deviceId: device!.id}); - expect(foreground.packageName).not.toBe(bundleId); - }); - test('device.dump.ui should return a non-empty element tree', async () => { test.skip(!device, 'no device found'); @@ -448,14 +423,6 @@ test.describe('rpc methods against a live device', () => { }); // Helper functions -function sleep(ms: number): Promise { - return new Promise(resolve => setTimeout(resolve, ms)); -} - -function settingsPackageFor(platform: string): string { - return platform === 'android' ? 'com.android.settings' : 'com.apple.Preferences'; -} - async function rpc(method: string, params?: any): Promise { const payload: JSONRPCRequest = {jsonrpc: '2.0', method, id: 1}; if (params !== undefined) { From 40029a95dd35da54fff78e8793dd57a08872fdff Mon Sep 17 00:00:00 2001 From: gmegidish Date: Sat, 1 Aug 2026 18:37:13 +0200 Subject: [PATCH 3/3] loosened tests a bit --- test/android.spec.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/android.spec.ts b/test/android.spec.ts index c4656b9..74af8ff 100644 --- a/test/android.spec.ts +++ b/test/android.spec.ts @@ -137,6 +137,7 @@ test.describe('Android Tests', () => { test('should launch Settings app and verify it is in foreground', async () => { test.skip(!device, 'No Android device found'); + clearSettingsTask(device!.id); launchApp(device!.id, SETTINGS_PACKAGE); await sleep(3000); @@ -157,7 +158,7 @@ test.describe('Android Tests', () => { launchApp(device!.id, SETTINGS_PACKAGE); await sleep(3000); - terminateApp(device!.id, SETTINGS_PACKAGE); + clearSettingsTask(device!.id); await sleep(3000); expect(getForegroundApp(device!.id).data.packageName).toMatch(LAUNCHER_PACKAGE_PATTERN);