mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-27 17:44:08 +01:00
fix #1108 where completed todos with notes could not be rendered on the done page
This commit is contained in:
parent
117d7c9e50
commit
11d40fb48b
3 changed files with 39 additions and 18 deletions
15
features/view_done.feature
Normal file
15
features/view_done.feature
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
Feature: Show done
|
||||
In order to see what I have completed
|
||||
As an user
|
||||
I want see my done todos
|
||||
|
||||
Background:
|
||||
Given the following user record
|
||||
| login | password | is_admin |
|
||||
| testuser | secret | false |
|
||||
|
||||
Scenario: Visit done page
|
||||
Given I have logged in as "testuser" with password "secret"
|
||||
And I have 1 completed todos with a note
|
||||
When I go to the done page
|
||||
Then I should see "Completed in the last 24 hours"
|
||||
Loading…
Add table
Add a link
Reference in a new issue