mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-23 11:55:41 +03:00
Skip multi-part form test.
This commit is contained in:
parent
ec43f67268
commit
89d3348b82
@ -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({
|
||||
|
Loading…
Reference in New Issue
Block a user