From 932adf6d578d2787ea20ac78e79939479f92d71b Mon Sep 17 00:00:00 2001 From: Piotr Stachyra Date: Thu, 2 Apr 2026 10:42:23 +0200 Subject: [PATCH 1/2] chore: formatting --- test/specs/mainnet/ln.e2e.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/test/specs/mainnet/ln.e2e.ts b/test/specs/mainnet/ln.e2e.ts index cbb6908..4717221 100644 --- a/test/specs/mainnet/ln.e2e.ts +++ b/test/specs/mainnet/ln.e2e.ts @@ -84,8 +84,12 @@ async function waitForWalletReady(): Promise { await expectTextWithin('Status-internet', 'Connected', { timeout: APP_STATUS_ROW_TIMEOUT_MS }); await expectTextWithin('Status-electrum', 'Connected', { timeout: APP_STATUS_ROW_TIMEOUT_MS }); - await expectTextWithin('Status-lightning_node', 'Running', { timeout: APP_STATUS_ROW_TIMEOUT_MS }); - await expectTextWithin('Status-lightning_connection', 'Open', { timeout: APP_STATUS_ROW_TIMEOUT_MS }); + await expectTextWithin('Status-lightning_node', 'Running', { + timeout: APP_STATUS_ROW_TIMEOUT_MS, + }); + await expectTextWithin('Status-lightning_connection', 'Open', { + timeout: APP_STATUS_ROW_TIMEOUT_MS, + }); await doNavigationClose(); console.info('→ [LN] App status verified'); From 736d3075de091991ff9766cd1749688312e342b7 Mon Sep 17 00:00:00 2001 From: Piotr Stachyra Date: Thu, 2 Apr 2026 10:42:42 +0200 Subject: [PATCH 2/2] test: adapt rgs update settings_11 --- test/specs/settings.e2e.ts | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/test/specs/settings.e2e.ts b/test/specs/settings.e2e.ts index abd5911..28fc6c1 100644 --- a/test/specs/settings.e2e.ts +++ b/test/specs/settings.e2e.ts @@ -424,8 +424,16 @@ describe('@settings - Settings', () => { const newUrl = `${rgsUrl}/`; // url should be updated - await typeText('RGSUrl', newUrl); - await confirmInputOnKeyboard(); + try { + await typeText('RGSUrl', newUrl); + await confirmInputOnKeyboard(); + await elementById('ConnectToHost').waitForEnabled(); + } catch { + console.info('→ [Settings] RGSUrl is not updated properly, trying again...'); + await typeText('RGSUrl', newUrl); + await confirmInputOnKeyboard(); + await elementById('ConnectToHost').waitForEnabled(); + } await tap('ConnectToHost'); await waitForToast('RgsUpdatedToast'); const updatedUrl = await (await elementById('ConnectedUrl')).getText(); @@ -433,6 +441,7 @@ describe('@settings - Settings', () => { // switch back to default await tap('ResetToDefault'); + await sleep(2000); await tap('ConnectToHost'); await waitForToast('RgsUpdatedToast', { waitToDisappear: false });