From 732d0d094f64caf36e9223cb22e828192dbe1aa1 Mon Sep 17 00:00:00 2001 From: Benjamin Haramboure <105707720+bharamboure-ledger@users.noreply.github.com> Date: Wed, 30 Oct 2024 13:07:46 +0100 Subject: [PATCH] fix: swap e2e scenarios target appropriate STG env test url (#8250) --- apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts b/apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts index 1dcc09800fb..ba908a50006 100644 --- a/apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts +++ b/apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts @@ -118,7 +118,7 @@ for (const { swap, xrayTicket } of swaps) { test.describe("Swap - Accepted (without tx broadcast)", () => { test.beforeAll(async () => { process.env.SWAP_DISABLE_APPS_INSTALL = "true"; - process.env.SWAP_API_BASE = "https://swap-stg.ledger.com/v5"; + process.env.SWAP_API_BASE = "https://swap-stg.ledger-test.com/v5"; process.env.DISABLE_TRANSACTION_BROADCAST = "true"; }); @@ -183,7 +183,7 @@ for (const { swap, xrayTicket } of rejectedSwaps) { test.describe("Swap - Rejected on device", () => { test.beforeAll(async () => { process.env.SWAP_DISABLE_APPS_INSTALL = "true"; - process.env.SWAP_API_BASE = "https://swap-stg.ledger.com/v5"; + process.env.SWAP_API_BASE = "https://swap-stg.ledger-test.com/v5"; }); const accPair: string[] = [swap.accountToDebit, swap.accountToCredit].map(acc => @@ -273,7 +273,7 @@ for (const { swap, xrayTicket } of tooLowAmountForQuoteSwaps) { test.describe("Swap - with too low amount (throwing UI errors)", () => { test.beforeAll(async () => { process.env.SWAP_DISABLE_APPS_INSTALL = "true"; - process.env.SWAP_API_BASE = "https://swap-stg.ledger.com/v5"; + process.env.SWAP_API_BASE = "https://swap-stg.ledger-test.com/v5"; }); const accPair: string[] = [swap.accountToDebit, swap.accountToCredit].map(acc =>