druxt.js icon indicating copy to clipboard operation
druxt.js copied to clipboard

Add Cucumber format tests

Open Decipher opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe. As a project maintainer I want Cucumber style Cypress tests so that tests are human readable and easy to maintain.

Describe the solution you'd like

  • [ ] Add support for Cucumber style tests to Cypress:
    • https://www.npmjs.com/package/cypress-cucumber-preprocessor

Describe alternatives you've considered N/A

Additional context I have this functionality on the Stuart Clark blog site via this commit: https://www.npmjs.com/package/cypress-cucumber-preprocessor

However, it appears that it no longer works with the latest version of Cypress, or I was unable to get it working when I attempted to do so.

I found the following issue, but it is for a different package and may not be related: https://github.com/badeball/cypress-cucumber-preprocessor/issues/722

Decipher avatar Aug 28 '22 23:08 Decipher

I did a little more work on it this morning and pushed by WIP code ^

I confirmed that the project has change ownership, and the badeball repo is correct: https://github.com/badeball/cypress-cucumber-preprocessor/issues/689

I also found the webpack processor docs, and used that config for this instance, but I was still not able to get it working: https://github.com/badeball/cypress-cucumber-preprocessor/blob/master/docs/quick-start.md

image

Decipher avatar Aug 28 '22 23:08 Decipher