trentrand / cypress-utils

⚙ Easily parallelize and stress-test your Cypress tests
MIT License
25 stars 6 forks source link

19/custom browser option #20

Closed trentrand closed 3 years ago

trentrand commented 3 years ago

Allow unrecognized CLI options to pass-through to Cypress

These changes remove the strict option checking, allowing unrecognized command line options to be accepted as valid input.

This allows flags like --reporter and --browser to be specified without requiring that the script is continually updated for each desired option.

This fixes the issue raised in Issue #19.

Remove explicit declaration of --reporter command-line option

Now that all unrecognized command-line options are accepted and passed-through to the Cypress CLI, there's no need to explicitly handle reporter.