@donobu/donobu-http-testing 1.11.0 and 1.12.0 handle files.
await request.call({
method: 'POST',
url: '/reports',
multipart: {
title: 'Q3',
report: { path: 'fixtures/q3.pdf' },
},
});
multipartbodies from code and fromrequest.ai;request.aican upload only files inside the project folder- Binary bodies are sent and read whole:
response.bytesandresponse.save() - A binary body is recorded only as its type, size and hash, never its bytes
- A typed
httpConfigoption in the Playwright config