diff options
| author | Your Name <you@example.com> | 2026-05-21 17:29:11 +0530 |
|---|---|---|
| committer | Your Name <you@example.com> | 2026-05-21 17:29:11 +0530 |
| commit | 4eb0deef61f41953f541535f1f1433d3804258b6 (patch) | |
| tree | b7d7cb1193a888a2317ba69c39564c3572b76e76 | |
| parent | 06ab6574026f5454306c86e500db0dbf937358d6 (diff) | |
fix(tests): update mint URL pattern in E2E test
Accept both testnut.cashu.space and testnut-nutshell.orangesync.tech
| -rw-r--r-- | tests/e2e/captive-portal.spec.mjs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/e2e/captive-portal.spec.mjs b/tests/e2e/captive-portal.spec.mjs index ab9d4f1..c95b684 100644 --- a/tests/e2e/captive-portal.spec.mjs +++ b/tests/e2e/captive-portal.spec.mjs | |||
| @@ -23,7 +23,7 @@ test.describe('Captive Portal - Phase 2', () => { | |||
| 23 | const body = await resp.text(); | 23 | const body = await resp.text(); |
| 24 | expect(body).not.toContain('Loading...'); | 24 | expect(body).not.toContain('Loading...'); |
| 25 | expect(body).not.toContain('Error loading mint URL'); | 25 | expect(body).not.toContain('Error loading mint URL'); |
| 26 | expect(body).toMatch(/testnut\.cashu\.space/); | 26 | expect(body).toMatch(/testnut.*orangesync\.tech|testnut\.cashu\.space/); |
| 27 | }); | 27 | }); |
| 28 | 28 | ||
| 29 | test('portal embeds price without JavaScript fetch', async ({ request }) => { | 29 | test('portal embeds price without JavaScript fetch', async ({ request }) => { |