Skip to content
This repository was archived by the owner on Dec 26, 2019. It is now read-only.

Tested for consistency and accuracy in tracking user time #306

Open
wants to merge 3 commits into
base: primary
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Ensuring consistency and accuracy of date and time while logging
I describe the sad case of logging time in the future. I also look into the happy case of the hours logged
showing up as hours elsewhere.
nlmorsey committed Jan 7, 2018

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit f55ba5a3f10dfdf6cec88910d47572c8ed2830d2
11 changes: 11 additions & 0 deletions features/logging_time.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
scenario: logging time in the future
Given that I am on the Check In page
When I select a day in the future from "what day is this for"
Then I am prevented from submitting the form
And I am told that the "what day is this for" field is invalid because the day is in the future

scenario: logging time in increments greater than one day
Given that I am on the Check In page
When I check in for 10~12 hours
Then I go to the Logs page
And I see 10~12 hours for that log entry