cypress-file-upload icon indicating copy to clipboard operation
cypress-file-upload copied to clipboard

AttachFile failing with error cy.screenshot() timeout when running the tests in headless mode

Open elisa-dc opened this issue 4 years ago • 1 comments

Current behavior:

Hello! we use the plugin to upload a single jpeg file

cy.get('my_file_input_selector').attachFile('flle_to_upload.jpeg');

This works as expected when running the tests in the browser, but it fails when we run the test in --headless mode

image

Desired behavior:

We'd like to be able to run the tests in headless mode too

Versions

cypress-file-upload: 5.0.7 Cypress package version: 6.8.0 Cypress binary version: 6.8.0 Electron version: 11.3.0 Bundled Node version: 12.18.3 Chrome: 91

elisa-dc avatar Jun 22 '21 13:06 elisa-dc

Bump!

OndeVai avatar Jul 08 '22 00:07 OndeVai