ci(cypress): Add list and revoke for zero auth mandate payments (#6569)

This commit is contained in:
Gnanasundari24
2024-11-26 13:50:33 +05:30
committed by GitHub
parent acb30ef6d1
commit 9baa1ef654
2 changed files with 54 additions and 7 deletions

View File

@ -1969,9 +1969,7 @@ Cypress.Commands.add(
} else if (response.body.authentication_type === "no_three_ds") {
if (response.body.connector === "fiuu") {
expect(response.body.status).to.equal("failed");
} else {
expect(response.body.status).to.equal("succeeded");
}
}
} else {
throw new Error(
`Invalid authentication type ${response.body.authentication_type}`
@ -2051,9 +2049,7 @@ Cypress.Commands.add(
} else if (response.body.authentication_type === "no_three_ds") {
if (response.body.connector === "fiuu") {
expect(response.body.status).to.equal("failed");
} else {
expect(response.body.status).to.equal("succeeded");
}
}
} else {
throw new Error(
`Invalid authentication type ${response.body.authentication_type}`