aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-03-02 22:37:05 -0800
committerAdam Soltys <[email protected]>2026-03-02 22:37:05 -0800
commit11d358ad0412b794ecf89b4da9f99ac41ed9c3fe (patch)
tree61808f5d31df326ad7c3d459e16d4f6085368ad0 /test
parentc0da099aa48f6bbc168159293bfae9e60daffeda (diff)
downloadcoinos-ui-11d358ad0412b794ecf89b4da9f99ac41ed9c3fe.tar.gz
coinos-ui-11d358ad0412b794ecf89b4da9f99ac41ed9c3fe.zip
inline icons
Diffstat (limited to 'test')
-rw-r--r--test/e2e/custodial-bitcoin-send.spec.ts2
-rw-r--r--test/e2e/helpers.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/e2e/custodial-bitcoin-send.spec.ts b/test/e2e/custodial-bitcoin-send.spec.ts
index 23428abc..f035aac6 100644
--- a/test/e2e/custodial-bitcoin-send.spec.ts
+++ b/test/e2e/custodial-bitcoin-send.spec.ts
@@ -55,7 +55,7 @@ test("custodial-to-custodial via bitcoin address sends internally and notifies r
// Ensure sats mode: swap button shows lightning icon when in fiat mode
const swapButton = bobPage.locator('[aria-label="Swap currency display"]');
if (await swapButton.isVisible({ timeout: 2_000 }).catch(() => false)) {
- const hasLightning = await swapButton.locator('iconify-icon[icon="ph:lightning-fill"]').count();
+ const hasLightning = await swapButton.locator('svg').count();
if (hasLightning > 0) {
await swapButton.click();
await bobPage.waitForTimeout(300);
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();