Kettle

Kettle

Keeping little hands off

  1. Press lock.

    The child lock is on.

    The child lock is on.
  2. Set the dial to 100 %.

    The kettle is off.

    The kettle is off.
  3. Set the dial to 0 %. Then press lock.

    The child lock is off.

    The child lock is off.
  4. Set the dial to 80 %.

    The kettle is heating.

    The kettle is heating.

Learn more

How this is tested passed

This tutorial is also an acceptance test. Its report has every step, check and screenshot from the last run.

The user story: As a parent, I want the child lock to keep the kettle off, so that a curious toddler turning the dial doesn't start it.

When the user presses lock
Then the child lock is on
When the dial is 100 %
Then the kettle is off
When the dial is 0 %
  And the user presses lock
Then the child lock is off
When the dial is 80 %
Then the kettle is heating