|
|
|
@ -57,12 +57,14 @@ Feature: Tracking Time |
|
|
|
|
|
|
|
|
|
@javascript |
|
|
|
|
Scenario: Adding a time entry |
|
|
|
|
Given the plugin openproject_costs is not loaded |
|
|
|
|
When I log 2 hours with the comment "test" |
|
|
|
|
Then I should see a time entry with 2 hours and comment "test" |
|
|
|
|
And I should see a total spent time of 6 hours |
|
|
|
|
|
|
|
|
|
@javascript @selenium |
|
|
|
|
Scenario: Editing a time entry |
|
|
|
|
Given the plugin openproject_costs is not loaded |
|
|
|
|
When I update the first time entry with 4 hours and the comment "updated test" |
|
|
|
|
Then I should see a time entry with 4 hours and comment "updated test" |
|
|
|
|
And I should see a total spent time of 4 hours |
|
|
|
@ -72,7 +74,6 @@ Feature: Tracking Time |
|
|
|
|
When I go to the time entry page of issue "issue1" |
|
|
|
|
And I select "yesterday" from "period" |
|
|
|
|
Then I should not see a total spent time of 0 hours |
|
|
|
|
|
|
|
|
|
When I click "Apply" |
|
|
|
|
Then I should see a total spent time of 0 hours |
|
|
|
|
|
|
|
|
|