mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-27 01:24:07 +01:00
replace selenium script with cucumber story for switching recurrence option
This commit is contained in:
parent
0d7980e87b
commit
e1b52aeb13
4 changed files with 34 additions and 12 deletions
25
features/recurring_todos.feature
Normal file
25
features/recurring_todos.feature
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
Feature: Manage recurring todos
|
||||
|
||||
In order to manage repeating todos
|
||||
As a Tracks user
|
||||
I want to view, edit, add, or remove recurrence patterns of repeating todos
|
||||
|
||||
Background:
|
||||
Given the following user record
|
||||
| login | password | is_admin |
|
||||
| testuser | secret | false |
|
||||
And I have logged in as "testuser" with password "secret"
|
||||
|
||||
@selenium
|
||||
Scenario: Being able to select daily, weekly, monthly and yearly pattern
|
||||
When I go to the repeating todos page
|
||||
And I follow "Add a new recurring action"
|
||||
Then I should see the form for "Daily" recurrence pattern
|
||||
When I select "Weekly" recurrence pattern
|
||||
Then I should see the form for "Weekly" recurrence pattern
|
||||
When I select "Monthly" recurrence pattern
|
||||
Then I should see the form for "Monthly" recurrence pattern
|
||||
When I select "Yearly" recurrence pattern
|
||||
Then I should see the form for "Yearly" recurrence pattern
|
||||
When I select "Daily" recurrence pattern
|
||||
Then I should see the form for "Daily" recurrence pattern
|
||||
Loading…
Add table
Add a link
Reference in a new issue