Example of using cypress-cucumber-preprocessor with Currents.
- Use
@currents/clipackage to use Currents.dev as an alternative dashboard for ochestrating and reporting of cypress tests. - Using
@currents/cliallows usingnpx currentsinstead ofnpx cypress. Unfortunatelycypress-cucumber-preprocessorhas thecypresscommand hardcoded in its code, that's why an additional step is required to "patch"cypress-cucumber-preprocessorand usecurrentsinstead ofcypress:- the patch is in
patchesdirectory (it just replacescypresscommand withcurrents) - to apply the patch manually run
npx patch-package. Read more aboutpatch-package. - to apply the patch automatically as part of
npm installadd"postinstall": "patch-package"topackage.json:scripts
- the patch is in
When patched, you can use cypress-tags command as usual, for example:

Note: get the record key and the project id at https://app.currents.dev