From e24437a72e6c85f84f237cc39c6d2f03da60f887 Mon Sep 17 00:00:00 2001 From: rk16449 Date: Wed, 13 Mar 2024 17:02:37 +0000 Subject: [PATCH] chore: add transfer receiver 1 POST api mock --- .../cypress/fixtures/transferReceiver_statechain1.json | 3 +++ clients/mercury-web/cypress/support/e2e.js | 4 ++++ 2 files changed, 7 insertions(+) create mode 100644 clients/mercury-web/cypress/fixtures/transferReceiver_statechain1.json diff --git a/clients/mercury-web/cypress/fixtures/transferReceiver_statechain1.json b/clients/mercury-web/cypress/fixtures/transferReceiver_statechain1.json new file mode 100644 index 00000000..ecc567f8 --- /dev/null +++ b/clients/mercury-web/cypress/fixtures/transferReceiver_statechain1.json @@ -0,0 +1,3 @@ +{ + "transfer_complete": true +} diff --git a/clients/mercury-web/cypress/support/e2e.js b/clients/mercury-web/cypress/support/e2e.js index 637b072c..2de24dc0 100644 --- a/clients/mercury-web/cypress/support/e2e.js +++ b/clients/mercury-web/cypress/support/e2e.js @@ -59,6 +59,10 @@ before(() => { fixture: "transferReceiver.json", }).as("sendTransferReceiverRequestPayload"); + cy.intercept("POST", "transfer/receiver/1", { + fixture: "transferReceiver_statechain1.json", + }).as("sendTransferReceiverRequestPayload1"); + cy.intercept("GET", "info/statechain/1", { fixture: "infoStatecoin1.json", }).as("getStatechainInfo");