cypress
cypress copied to clipboard
Yaml/yml support in fixtures folder in cypress
What would you like?
Support for yaml fiel inside fixtures, so that we can utilize data in our tests by node and keyname
Why is this needed?
Fixtures support only json format, what if users need to store data in yaml /yml file...
Other
No
Are you looking for native support with Cypress? Otherwise, you can easily use a library like https://www.npmjs.com/package/js-yaml and create a cy.task to load the file.
Please help me out how to yae yml data in cypress
Are you looking for native support with Cypress? Otherwise, you can easily use a library like https://www.npmjs.com/package/js-yaml and create a
cy.taskto load the file.
Please help me how can we read yml by cy. task not getting any solution
Are you looking for native support with Cypress? Otherwise, you can easily use a library like https://www.npmjs.com/package/js-yaml and create a
cy.taskto load the file.
You mean instead of using cy.fixture method? It would indeed be very handy if Cypress could natively support .yaml files.
Nevertheless, thank you for that great tool