Logo: Relish

  1. Sign in

Project: Timefliesby

Task Switch

In order to make time tracking quick and easy

As a person short on time

I want the current task to stop when switching to a new one

Background Signed in
Given
I am signed in as a new user
Scenarios
  • @time_travel
New task using 'Switch Now'
Given
it is "1/3/2010 8:13:23 AM"
And
I am on the new task page
When
I press "Switch Now"
Then
I should see "Task was successfully created."
And
I should see "1/3/2010 08:13:23"
And
I should see "Active"
And
I should see "0s"
  • @time_travel
Duration on new task using 'Switch Now'
Given
it is "1/3/2010 8:13:23 AM"
And
I have a "1m" task
And
I am on the new task page
When
I press "Switch Now"
Then
I should see "Task was successfully created."
And
I should see "1/3/2010 08:13:23"
And
it is "1/3/2010 8:13:24 AM"
And
I reload the page
And
I should see "1s"
  • @time_travel
Duration on current task
Given
it is "1/3/2010 8:13:23 AM"
And
I am on the new task page
When
I press "Switch Now"
Then
I should see "Task was successfully created."
And
I should see "1/3/2010 08:13:23"
And
I should see "0s"
  • @time_travel
Duration on previous task
Given
it is "1/3/2010 8:13:23 AM"
And
I have a "1m" task
And
I am on the new task page
When
I press "Switch Now"
And
I follow "Back"
Then
I should see "1m" duration in task 2

Last published about 5 years ago by esambo.