Last active
March 27, 2021 09:54
-
-
Save goofballLogic/ef0e0bb802253a872a381bcb7cf55c34 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feature: Writing a diary entry | |
As Doogie | |
I want to be able to write a new entry in my diary | |
So that I can round off an episode with an uplifting thought | |
Background: Load the app and start editing | |
Given I have loaded the app | |
When I press the space bar | |
Scenario: I should be able to press space bar to start writing | |
Then my cursor should be focused in an editable area | |
And the current date should be displayed beside the editable area | |
Scenario: I should be able to tab out of the editable area to finish writing | |
And I press the tab key | |
Then there should no longer be any editable areas | |
And the diary entry i just created should be saved to the database |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment