How can I intercept the entire requestbody and compare this with an fixture?
I tried:
it('Check if Frontend requestbody is the correct', () => {
cy.intercept('GET', '**/api/assessmenttestreference').as('ItemMove')
cy.wait('@ItemMove').its('request.body')
.to.equal({fixture:'MovedItemStructure.json'})
});
Is there a working or an alternative solution for this goal?