public
Created — forked from rainchen/gist:218732

  • Download Gist
gistfile1.st
Smalltalk
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
Feature: Items in scheduled
As an singed up user
I want to manage my todos or projects which placed in scheduled
 
Background:
Given I am a confirmed user and signed in as "tom@iamtom.com" with password "iamtom"
 
Scenario: Move a new todo to Scheduled
When I create a todo "To meet David" on "" about "About trip planning"
And I drag todo "To meet David" to place Scheduled
Then I should see "Schedule"
When I fill in "Scheduled at" with the date "tomorrow"
And I fill in "Scheduled Action" with "move_to_today"
And I press "OK"
Then I should have 1 todos in "Scheduled"
And I should have 0 todos in "Today"
When I go to the todos scheduled page
Then I should see "To meet David"
When 1 days pass
Given the taks are updated
Then I should have 0 todos in "Scheduled"
And I should have 1 todos in "Today"
When I go to the todos today page
Then I should see "To meet David"
 
1 scenario (1 passed)
17 steps (17 passed)

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.