Skip to content

Commit

Permalink
fix: swap e2e scenarios target appropriate STG env test url (#8250)
Browse files Browse the repository at this point in the history
  • Loading branch information
bharamboure-ledger authored Oct 30, 2024
1 parent ed24bfd commit 732d0d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
});

Expand Down Expand Up @@ -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 =>
Expand Down Expand Up @@ -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 =>
Expand Down

0 comments on commit 732d0d0

Please sign in to comment.