Kettle

Kettle

Test report

First cup › Turn it up, then turn it off passed

As a tea drinker, I want to start the kettle by turning the dial, so that it works like the one I already have.

The test behind the tutorial First cup: every step it takes, what it checks and what it saw.

Start

From the setup of Kettle.

Everything it starts with
Given the kettle is off
  And the dial is 0 %
  And the preset is WARM
  And the child lock is off
Screenshot
  • Every arranged state read back as arranged (4)

1 When the dial is 80 %

When the dial is 80 %
Then the kettle is heating

Expected behaviour: Turning the dial up starts the kettle.

Screenshot

2 When the dial is 0 % and the user presses reset

When the dial is 0 %
  And the user presses reset
Then the kettle is off

Expected behaviour: Reset turns the kettle off.

Screenshot