September 08, 2015
I am working on a legacy web application that has limited unit test and dependency on multiple applications. To reduce the manual testing effort, we had to write end-to-end UI tests with help of Cucumber, Capybara.
We had to chain few tests (generally BAD PRACTICE) as there was no way to create the seed data in every end-to-end test. We had to reuse the data from other scenarios. Rather than going into further details, here is an example where you can trigger another cucumber tag from a step: