From e81d89e2a1c2ee70f61d693b21106161b1f5c458 Mon Sep 17 00:00:00 2001 From: Piotr Stachyra Date: Tue, 18 Nov 2025 13:11:19 +0100 Subject: [PATCH 1/3] @boost_2 - Can do RBF update --- test/specs/boost.e2e.ts | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/test/specs/boost.e2e.ts b/test/specs/boost.e2e.ts index bf646754..e91c7736 100644 --- a/test/specs/boost.e2e.ts +++ b/test/specs/boost.e2e.ts @@ -235,7 +235,11 @@ describe('@boost - Boost', () => { await elementById('BoostingIcon').waitForDisplayed(); await elementById('ActivityShort-0').waitForDisplayed(); await elementById('ActivityShort-1').waitForDisplayed(); - await expect(elementById('ActivityShort-2')).not.toBeDisplayed(); + await elementById('ActivityShort-2').waitForDisplayed(); + await expectTextWithin('ActivityShort-0', '-'); + await expectTextWithin('ActivityShort-1', '-'); + await expectTextWithin('ActivityShort-2', '100 000'); + await expectTextWithin('ActivityShort-2', '+'); // new tx await tap('ActivityShort-0'); @@ -281,9 +285,13 @@ describe('@boost - Boost', () => { await swipeFullScreen('down'); await attemptRefreshOnHomeScreen(); await swipeFullScreen('up'); + // TEMP: refresh until proper events available + await expect(elementById('BoostingIcon')).not.toBeDisplayed(); await elementById('ActivityShort-0').waitForDisplayed(); await tap('ActivityShort-0'); - // TEMP: refresh until proper events available await elementById('StatusConfirmed').waitForDisplayed(); + await doNavigationClose(); + await tap('ActivityShort-1') + await expectText('Removed From Mempool', {strategy: 'contains'}) }); }); From 7028abe527810331301991802a12b98d28c88926 Mon Sep 17 00:00:00 2001 From: Piotr Stachyra Date: Tue, 18 Nov 2025 13:41:01 +0100 Subject: [PATCH 2/3] StatusRemoved --- test/specs/boost.e2e.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/specs/boost.e2e.ts b/test/specs/boost.e2e.ts index e91c7736..96c5055d 100644 --- a/test/specs/boost.e2e.ts +++ b/test/specs/boost.e2e.ts @@ -292,6 +292,6 @@ describe('@boost - Boost', () => { await elementById('StatusConfirmed').waitForDisplayed(); await doNavigationClose(); await tap('ActivityShort-1') - await expectText('Removed From Mempool', {strategy: 'contains'}) + await elementById('StatusRemoved').waitForDisplayed(); }); }); From 598e22db87e0fbbbc0ebf0b9be903929603354d2 Mon Sep 17 00:00:00 2001 From: Piotr Stachyra Date: Wed, 19 Nov 2025 10:52:17 +0100 Subject: [PATCH 3/3] adjust boost_2 more --- test/specs/boost.e2e.ts | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/test/specs/boost.e2e.ts b/test/specs/boost.e2e.ts index 96c5055d..82aff3ed 100644 --- a/test/specs/boost.e2e.ts +++ b/test/specs/boost.e2e.ts @@ -79,6 +79,7 @@ describe('@boost - Boost', () => { await elementById('ActivityShort-0').waitForDisplayed(); // no additional boost tx item on iOS, there is one on Android + // https://github.com/synonymdev/bitkit-android/issues/463 const showsBoostTxItem = driver.isAndroid; if (showsBoostTxItem) { await expect(elementById('ActivityShort-1')).toBeDisplayed(); @@ -269,11 +270,15 @@ describe('@boost - Boost', () => { // check activity after restore await swipeFullScreen('up'); - await elementById('BoostingIcon').waitForDisplayed(); - await elementById('ActivityShort-0').waitForDisplayed(); + (await elementByIdWithin('ActivityShort-0','BoostingIcon')).waitForDisplayed(); + (await elementByIdWithin('ActivityShort-1','BoostingIcon')).waitForDisplayed(); await tap('ActivityShort-0'); await elementById('BoostedButton').waitForDisplayed(); await elementById('StatusBoosting').waitForDisplayed(); + await doNavigationClose(); + await tap('ActivityShort-1'); + await elementById('BoostedButton').waitForDisplayed(); + await elementById('StatusRemoved').waitForDisplayed(); // mine new block await mineBlocks(rpc, 1); @@ -286,11 +291,11 @@ describe('@boost - Boost', () => { await attemptRefreshOnHomeScreen(); await swipeFullScreen('up'); // TEMP: refresh until proper events available - await expect(elementById('BoostingIcon')).not.toBeDisplayed(); await elementById('ActivityShort-0').waitForDisplayed(); await tap('ActivityShort-0'); await elementById('StatusConfirmed').waitForDisplayed(); await doNavigationClose(); + (await elementByIdWithin('ActivityShort-1', 'BoostingIcon')).waitForDisplayed(); await tap('ActivityShort-1') await elementById('StatusRemoved').waitForDisplayed(); });