Learn about the following cucumber features:
Think of a practical application for each feature. If you can't think of one, discuss it with your mentor.
Also read through the card How to not repeat yourself in Cucumber scenarios.
We have a very useful gem to create test data in cucumber: cucumber_factory Show archive.org snapshot .
Read through the README.
Integrate it into your MovieDB and replace your custom model creation steps with Cucumber Factory.
Look through your MovieDB features and step definitions. Can you spot opportunities to apply what you learnt?
Background
or turn scenarios into a Scenario outline
?If you cannot find any opportunities to DRY up a Cucumber scenario, do this exercise (testing the file upload from before):
User can upload a movie poster in PNG format
User can upload a movie poster in JPG format
Note
In practice the file extension check should belong in a unit test, not an E2E test.