Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (27 sloc) 1.147 kB
@javascript
Feature: Editing a task
Background:
Given @charles exists and is logged in
And I am in the project called "Teambox"
And the task list called "Bugs" belongs to the project called "Teambox"
And the following task with associations exist:
| name | task_list | project |
| Fix major bug | Bugs | Teambox |
And I go to the "Teambox" tasks page
Scenario: I change task name from full view
When I follow "Fix major bug"
And I wait for 1 second
And I follow "Full view"
And I follow "Edit"
And I fill the name field with "Fix minor bug"
And I press "Update Task"
And I wait for 1 second
Then I should see "Fix minor bug" within the task header
Scenario: I set the urgent flag for the task
When I follow "Fix major bug"
And I wait for 1 second
And I click the element that contain "No date assigned" within ".task .date_picker"
And I check "Urgent, to be done as soon as possible" within ".calendar_date_select"
And I press "Save"
Then I should see "Urgent" within the task actions
And I should see "Urgent" within "span.urgent"
Jump to Line
Something went wrong with that request. Please try again.