tnicola / cypress-parallel

Reduce up to 40% your Cypress suite execution time parallelizing the test run on the same machine.
MIT License
561 stars 116 forks source link

Unable to run the script through the .js file #118

Open Ganesh86888 opened 1 year ago

Ganesh86888 commented 1 year ago

I always triggered the script through the script.js file and passing the variables through env, but by using this i cant able to run through script.js,please help with this

Ganesh86888 commented 1 year ago

i ran the script by this way

cypress.run({ spec: ['./cypress/integration/xxxx.js', './cypress/integration/yyyy.js', './cypress/integration/zzzz.js'], browser: 'chrome', headed: 'true', env: 'BaseUrl=' + base, env: 'allure=true' })

Ganesh86888 commented 1 year ago

Please help me with this how to trigger the parallel concept through this way?

joshuajtward commented 1 year ago

This isn't currently supported, and I'm not even sure if it would be possible within this package...