cypress-io / cypress

Fast, easy and reliable testing for anything that runs in a browser.
https://cypress.io
MIT License
47.03k stars 3.19k forks source link

.selectFile method working as expected locally but breaking on Github CI with custom runner. #30003

Open aushwin opened 3 months ago

aushwin commented 3 months ago

Current behavior

I have tried the cypress-file-upload package too, the same happens with it. PS: Only thing which is not working is test case for file upload.

Desired behavior

No response

Test code to reproduce

  1. Set up a input field with type="file" and have a button which get's enabled when the file is uploaded on the input.
  2. Write the cypress test case for the same. And try running it on the CI

Cypress Version

13.10.0

Node version

v20.16.0

Operating System

macOs-Locally

Debug Logs

No response

Other

No response

jennifer-shehane commented 2 months ago

@aushwin Could you provide a reproducible example? We have quite a few tests for selectFile that do run in CI, so it must be something specific to this case.