1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/features/desktop/account.feature

51 lines
1.9 KiB
Gherkin
Raw Normal View History

2019-03-24 09:59:47 -04:00
Feature: Account
2019-03-24 14:01:59 -04:00
Scenario: of a user
Given there is a usual account with the following data:
2019-03-24 15:27:06 -04:00
| nickname | kotovalexarian |
2019-03-24 14:01:59 -04:00
| public_name | Alex Kotov |
| biography | Hi there :) |
When I visit "/accounts/kotovalexarian"
Then I see text "kotovalexarian"
And I see text "Alex Kotov"
And I see text "Hi there :)"
2019-06-05 00:36:05 -04:00
# And I see text "Не относится к партии"
2019-03-24 14:01:59 -04:00
2019-03-24 14:12:17 -04:00
Scenario: of a supporter
Given there is a supporter account with the following data:
2019-06-23 11:59:44 -04:00
| nickname | kotovalexarian |
| public_name | Alex Kotov |
| biography | Hi there :) |
| federal_subject | Москва |
2019-03-24 14:12:17 -04:00
When I visit "/accounts/kotovalexarian"
Then I see text "kotovalexarian"
And I see text "Alex Kotov"
And I see text "Hi there :)"
2019-06-05 00:36:05 -04:00
# And I see text "Сторонник партии"
2019-03-24 15:09:57 -04:00
And I see text "Москва"
2019-03-24 14:12:17 -04:00
Scenario: of a member
Given there is a member account with the following data:
2019-06-23 11:59:44 -04:00
| nickname | kotovalexarian |
| public_name | Alex Kotov |
| biography | Hi there :) |
| federal_subject | Москва |
2019-03-24 09:59:47 -04:00
When I visit "/accounts/kotovalexarian"
Then I see text "kotovalexarian"
And I see text "Alex Kotov"
And I see text "Hi there :)"
2019-06-05 00:36:05 -04:00
# And I see text "Член партии"
2019-03-24 15:09:57 -04:00
And I see text "Москва"
Scenario: of an excluded member
Given there is an excluded member account with the following data:
2019-06-23 11:59:44 -04:00
| nickname | kotovalexarian |
| public_name | Alex Kotov |
| biography | Hi there :) |
| federal_subject | Москва |
When I visit "/accounts/kotovalexarian"
Then I see text "kotovalexarian"
And I see text "Alex Kotov"
And I see text "Hi there :)"
2019-06-05 00:36:05 -04:00
# And I see text "Исключён из партии"
2019-03-24 15:09:57 -04:00
And I see text "Москва"