aboutsummaryrefslogtreecommitdiffstats
path: root/test/e2e/helpers.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-03-03 16:08:52 -0800
committerAdam Soltys <[email protected]>2026-03-03 16:08:52 -0800
commit8551df92b96ff69f3cda50184cb714ba30f3803d (patch)
treeb53b414d20d40d9bb9ab33764caa113c5996a262 /test/e2e/helpers.ts
parent14fff3ba852b1d696f61a0da25aaf0e04ccd4158 (diff)
downloadcoinos-ui-8551df92b96ff69f3cda50184cb714ba30f3803d.tar.gz
coinos-ui-8551df92b96ff69f3cda50184cb714ba30f3803d.zip
get rid of /receive route
Diffstat (limited to 'test/e2e/helpers.ts')
-rw-r--r--test/e2e/helpers.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/e2e/helpers.ts b/test/e2e/helpers.ts
index f0a7b81d..baa372f4 100644
--- a/test/e2e/helpers.ts
+++ b/test/e2e/helpers.ts
@@ -82,7 +82,7 @@ export async function apiGetInvoice(page: Page, invoiceId: string) {
// --- Invoice creation via UI ---
export async function createBitcoinInvoiceViaUI(page: Page, username: string) {
- await page.goto(`/${username}/receive?address_type=bech32`);
+ await page.goto(`/invoice?address_type=bech32`);
await page.waitForURL(/\/invoice\/[^/?#]+/, { timeout: 15_000 });
const invoiceId = page.url().match(/\/invoice\/([^/?#]+)/)?.[1];
@@ -99,7 +99,7 @@ export async function createBitcoinInvoiceViaUI(page: Page, username: string) {
}
export async function createLightningInvoiceViaUI(page: Page, username: string) {
- await page.goto(`/${username}/receive`);
+ await page.goto(`/invoice`);
await page.waitForURL(/\/invoice\/[^/?#]+/, { timeout: 15_000 });
// Click "More options" then "Bolt 11" to switch invoice type