Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
elisa-dc opened this issue Jun 22, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@elisa-dc
Copy link

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 elisa-dc added the bug Something isn't working label Jun 22, 2021
@elisa-dc elisa-dc changed the title [Bug] AttachFile failing with error cy.screenshot() timeout when running the tests in headless mode Jun 22, 2021
@OndeVai
Copy link

OndeVai commented Jul 8, 2022

Bump!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants