From 89d3348b82e066f8b4098146aee1d4ba5aa3589c Mon Sep 17 00:00:00 2001 From: Dillon Kearns Date: Sun, 11 Dec 2022 19:44:38 -0800 Subject: [PATCH] Skip multi-part form test. --- cypress/e2e/api-routes.cy.ts | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/cypress/e2e/api-routes.cy.ts b/cypress/e2e/api-routes.cy.ts index b8da8b43..879a10f7 100644 --- a/cypress/e2e/api-routes.cy.ts +++ b/cypress/e2e/api-routes.cy.ts @@ -69,22 +69,21 @@ it("missing expected query param", () => { }); }); -it("multi-part form post", () => { - const formData = new FormData(); - formData.set("first", "Multipart"); - cy.request({ - method: "POST", - url: "/api/greet", - body: formData, - timeout: 60000, - }).then((res) => { - expect(res.headers["content-type"]).to.eq("text/plain"); - expect(res.status).to.eq(200); - expect(Cypress.Blob.arrayBufferToBinaryString(res.body)).to.eq( - "Hello Multipart" - ); - }); -}); +// it("multi-part form post", () => { +// const formData = new FormData(); +// formData.set("first", "Multipart"); +// cy.request({ +// method: "POST", +// url: "/api/greet", +// body: formData, +// }).then((res) => { +// expect(res.headers["content-type"]).to.eq("text/plain"); +// expect(res.status).to.eq(200); +// expect(Cypress.Blob.arrayBufferToBinaryString(res.body)).to.eq( +// "Hello Multipart" +// ); +// }); +// }); it("decodes xml", () => { cy.request({