aboutsummaryrefslogtreecommitdiffstats
path: root/test/e2e/helpers.ts
diff options
context:
space:
mode:
Diffstat (limited to 'test/e2e/helpers.ts')
-rw-r--r--test/e2e/helpers.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/helpers.ts b/test/e2e/helpers.ts
index 4b84f8e7..f0a7b81d 100644
--- a/test/e2e/helpers.ts
+++ b/test/e2e/helpers.ts
@@ -267,7 +267,7 @@ export async function fillNumpadAmount(page: Page, amount: number) {
// Ensure sats mode: when in fiat mode, the lightning icon span is visible
const swapButton = page.locator('[aria-label="Swap currency display"]');
if (await swapButton.isVisible({ timeout: 2_000 }).catch(() => false)) {
- const lightningSpan = swapButton.locator('iconify-icon[icon="ph:lightning-fill"]').first();
+ const lightningSpan = swapButton.locator('svg').first();
const isInFiatMode = await lightningSpan.isVisible({ timeout: 1_000 }).catch(() => false);
if (isInFiatMode) {
await swapButton.click();