Skip to content

Commit

Permalink
add missing change
Browse files Browse the repository at this point in the history
  • Loading branch information
pixincreate committed Dec 23, 2024
1 parent 7b0dbee commit 9d50699
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions cypress-tests/cypress/support/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -1619,10 +1619,7 @@ Cypress.Commands.add(
logRequestId(response.headers["x-request-id"]);
expect(response.headers["content-type"]).to.include("application/json");
if (response.status === 200) {
if (resData.body.status !== "failed") {
expect(response.body.error_message).to.be.null;
expect(response.body.error_code).to.be.null;
}
validateErrorMessage(response, resData);

if (
response.body.capture_method === "automatic" ||
Expand Down

0 comments on commit 9d50699

Please sign in to comment.