I use a npm package called 'cypress-file-upload' and import it in the index.js file within cypress/support.
In the bitbucket-pipelines.yml file, I use npm install cypress-file-upload command in the scripts in order to install that package.
Not sure why I still see the module not found error in the pipeline.
Hi @Shahnaz Shariff,
I would need more information to help you out here. Could you share your bitbucket-pipelines.yml file to help out with debugging? Pipelines simply runs your script from that yml file in a Docker container, can you try to run the same script in Docker in your local environment?
Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster ! While we’re all excited about the new improvements to Bitbucket ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events