From 0c4d5614b91e184a0a7af8b21a3b34087669ab8e Mon Sep 17 00:00:00 2001 From: Ovi Trif Date: Sat, 27 Dec 2025 23:47:26 +0100 Subject: [PATCH 1/4] fix: make platform version configurable for local testing --- wdio.conf.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wdio.conf.ts b/wdio.conf.ts index 7f5dad1..836d6cf 100644 --- a/wdio.conf.ts +++ b/wdio.conf.ts @@ -62,8 +62,8 @@ export const config: WebdriverIO.Config = { ? { platformName: 'Android', 'appium:automationName': 'UiAutomator2', - 'appium:deviceName': 'Pixel_6', - 'appium:platformVersion': '13.0', + 'appium:deviceName': process.env.DEVICE_NAME || 'Pixel_6', + 'appium:platformVersion': process.env.PLATFORM_VERSION || '15', 'appium:app': path.join(__dirname, 'aut', 'bitkit_e2e.apk'), // 'appium:app': path.join(__dirname, 'aut', 'bitkit_v1.1.2.apk'), 'appium:autoGrantPermissions': true, From 6406751a6d5678e4d1716ee088dbf406846d85a5 Mon Sep 17 00:00:00 2001 From: Ovi Trif Date: Sun, 28 Dec 2025 00:50:40 +0100 Subject: [PATCH 2/4] fix: update settings tests for Nav3 navigation changes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - settings_04: add second swipe to dismiss receive sheet fully - settings_07: add tap on BackupIntroViewContinue before seed display 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- test/specs/settings.e2e.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/specs/settings.e2e.ts b/test/specs/settings.e2e.ts index e98ec85..98ee0f9 100644 --- a/test/specs/settings.e2e.ts +++ b/test/specs/settings.e2e.ts @@ -172,6 +172,8 @@ describe('@settings - Settings', () => { await sleep(300); (await elementByText(tag)).waitForDisplayed(); await swipeFullScreen('down'); + await sleep(500); + await swipeFullScreen('down'); // second swipe to dismiss receive sheet await sleep(1000); // wait for the app to settle // open tag manager, delete tag @@ -272,6 +274,8 @@ describe('@settings - Settings', () => { await sleep(1000); await tap('BackupWallet'); await sleep(1000); // animation + await tap('BackupIntroViewContinue'); // proceed past backup intro screen + await sleep(1000); // get the seed from SeedContainer const seedElement = await elementById('SeedContainer'); From 0341a95060751ac0a1d638e340591d2e176ba792 Mon Sep 17 00:00:00 2001 From: Ovi Trif Date: Sun, 28 Dec 2025 01:00:34 +0100 Subject: [PATCH 3/4] fix: configure appium service to use port 4723 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- wdio.conf.ts | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/wdio.conf.ts b/wdio.conf.ts index 836d6cf..c6720c7 100644 --- a/wdio.conf.ts +++ b/wdio.conf.ts @@ -136,7 +136,17 @@ export const config: WebdriverIO.Config = { // Services take over a specific job you don't want to take care of. They enhance // your test setup with almost no effort. Unlike plugins, they don't add new // commands. Instead, they hook themselves up into the test process. - services: ['appium'], + services: [ + [ + 'appium', + { + args: { + port: 4723, + }, + command: 'appium', + }, + ], + ], // Framework you want to run your specs with. // The following are supported: Mocha, Jasmine, and Cucumber From b949d4506fb1c4b8531e65b3decdf4596a7a45bc Mon Sep 17 00:00:00 2001 From: Ovi Trif Date: Sun, 28 Dec 2025 13:09:15 +0100 Subject: [PATCH 4/4] fix: make swipeFullScreen faster to dismiss sheets properly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Increased distance from 60% to 80% of screen (10%→90%) - Reduced move duration from 200ms to 100ms - Removed 50ms pause before move - Reverted double-swipe workaround in settings_04 The app's SheetHost.kt requires higher velocity (2500 px/sec) to dismiss sheets to prevent accidental dismissals during scrolling. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- test/helpers/actions.ts | 7 +++---- test/specs/settings.e2e.ts | 2 -- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/test/helpers/actions.ts b/test/helpers/actions.ts index 45db991..d470466 100644 --- a/test/helpers/actions.ts +++ b/test/helpers/actions.ts @@ -334,8 +334,8 @@ export async function swipeFullScreen(direction: Direction) { endY = height * 0.2; break; case 'down': - startY = height * 0.2; - endY = height * 0.8; + startY = height * 0.1; + endY = height * 0.9; break; } @@ -347,8 +347,7 @@ export async function swipeFullScreen(direction: Direction) { actions: [ { type: 'pointerMove', duration: 0, x: startX, y: startY }, { type: 'pointerDown', button: 0 }, - { type: 'pause', duration: 50 }, - { type: 'pointerMove', duration: 200, x: endX, y: endY }, + { type: 'pointerMove', duration: 100, x: endX, y: endY }, { type: 'pointerUp', button: 0 }, ], }, diff --git a/test/specs/settings.e2e.ts b/test/specs/settings.e2e.ts index 98ee0f9..09e55a2 100644 --- a/test/specs/settings.e2e.ts +++ b/test/specs/settings.e2e.ts @@ -172,8 +172,6 @@ describe('@settings - Settings', () => { await sleep(300); (await elementByText(tag)).waitForDisplayed(); await swipeFullScreen('down'); - await sleep(500); - await swipeFullScreen('down'); // second swipe to dismiss receive sheet await sleep(1000); // wait for the app to settle // open tag manager, delete tag