abundant-eve-90571
07/28/2022, 1:06 AMWhen('I choose 1 non image file', () => {
cy.get("input[type=file").attachFile( {
filePath: "example.json"
mimeType: image/jpg || image/png
})
})
here i want to write a test to check if a non image file is being uploaded, can i do this?