diff --git a/tests/frontend/cypress/e2e/sample.cy.js b/tests/frontend/cypress/e2e/sample.cy.js index 49d66b62..716f9edd 100644 --- a/tests/frontend/cypress/e2e/sample.cy.js +++ b/tests/frontend/cypress/e2e/sample.cy.js @@ -24,7 +24,7 @@ describe("Sample view test - mwdb-core", function () { body: formData, }).then((response) => { expect(response.status).to.eq(200); - resolve(response.body); + response.json().then((data) => resolve(data)); }); }); });