new try fix e2e test

This commit is contained in:
einhorn_b 2023-08-30 19:24:48 +02:00
parent 615e91d83a
commit 5f88da34a7

View File

@ -50,13 +50,14 @@ When('the user submits the transaction by confirming', () => {
'have.property',
'query',
`mutation ($recipientCommunityIdentifier: String!, $recipientIdentifier: String!, $amount: Decimal!, $memo: String!) {
sendCoins(
recipientCommunityIdentifier: $recipientCommunityIdentifier
recipientIdentifier: $recipientIdentifier
amount: $amount
memo: $memo
)
}`,
sendCoins(
recipientCommunityIdentifier: $recipientCommunityIdentifier
recipientIdentifier: $recipientIdentifier
amount: $amount
memo: $memo
)
}
`,
)
cy.wrap(interception.response?.body)
.should('have.nested.property', 'data.sendCoins')