I have to select and upload a file, with Test Cafè, in DropZone. The plugin is set to start the upload just after the selection of the file in the dialog window or just after dropping files in the area. After reading the TestCafè "setFilesUpload" documentation I wrote this:
const fileInput = await Selector('input[type="file"]');
await page.setFilesToUpload( fileInput, './e2efile.pdf');
The test doesn't crash or fail, and it looks fine in testcafè, but nothing is getting uploaded for real, am I missing something?