I am working on a Web-test automation framework, and would like to few functionalities present in describe()
block in one cypress ..spec.js file, by methods present in another in another cypress ..spec.js file?
Kindly read about Shared Behaviour facility provided in Mocha:
https://github.com/mochajs/mocha/wiki/Shared-Behaviours
I tried that but its not working. 1. Is it possible to achieve something similar to Mocha Shared steps (as descibed above)? 2. Or is there something similar to Cucumber-ruby/Pico-container's WORLD object?
Kindly advise.