Skip to content

Commit

Permalink
chore: chaining
Browse files Browse the repository at this point in the history
  • Loading branch information
siddhart1o1 committed Feb 16, 2024
1 parent dd02057 commit 4dffac8
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions apps/pay/cypress/e2e/point-of-sale.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,16 +87,17 @@ describe("Point of Sale", () => {
const walletId = response.body.data.me.defaultAccount.defaultWalletId
cy.log("Wallet ID:", walletId)

cy.sendInvoicePayment(paymentRequest, walletId, authToken).then(
(paymentResponse) => {
cy.sendInvoicePayment(paymentRequest, walletId, authToken)
.then((paymentResponse) => {
expect(paymentResponse.body.data.lnInvoicePaymentSend.status).to.equal(
"SUCCESS",
)
})
.then(() => {
cy.wait(3000)
cy.get("[data-testid=success-icon]").should("exist")
cy.get("[data-testid=success-icon]").should("be.visible")
},
)
})
})
})
})
Expand Down

0 comments on commit 4dffac8

Please sign in to comment.