Luckily, I have written numerous amounts of Capybara tests, covering most user features – meaning, I could just take screenshots. This will automagically generate me a step-by-step guide for the feature.
A script that does this will take a screenshot on every Capybara action:
This wraps Capybara methods such as
visit and places a
save_screenshot after performing given action. Your files will appear timestampted under
steps directory or your project.
Save this monkeypatch under
Currently it only tracks a limited number of capybara actions (e.g.