I want to compare a response from an Api request against a benchmark
Json response looks like this
projects: [
{
description: "",
id: 6823,
title:
"",
},
]
My test is doing the following:
cy.request(
"<api>"
).then((response) => {
assert.deepEqual(
response.body,
greatBenches.benchTerm1
);
});
I tried the same thing using expect().to.deep.equal() and I get the same result
Expected {Object (projects)} to deeply equal {Object (projects)}