taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit 42a21c376bca1cabeeb7047d6b1c52432d7212d5
parent 0177b63221d2bae5d9dd47ec208d2c392173d166
Author: Florian Dold <dold@taler.net>
Date:   Fri, 31 Jul 2026 15:45:06 +0200

harness: compare the instance name case-insensitively in stagefright

The sidebar shows the folded ID, so a mixed-case one warned spuriously.

Diffstat:
Mpackages/taler-harness/src/stagefright/merchant-mytops.ts | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/packages/taler-harness/src/stagefright/merchant-mytops.ts b/packages/taler-harness/src/stagefright/merchant-mytops.ts @@ -286,7 +286,9 @@ export async function runStagefrightMerchantMytops( async (page) => { await page.waitForSelector("aside"); const shown = await page.locator("aside").innerText(); - if (!shown.includes(instanceId)) { + // The UI renders the instance ID folded to lower case, since that is + // the only spelling the backend stores. + if (!shown.toLowerCase().includes(instanceId.toLowerCase())) { logger.warn(`the sidebar does not mention '${instanceId}'`); } },