There is a lot more to Cucumber than I showed in an earlier episode. See how to refactor complex scenarios in this episode.

Read more at the source