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

50 lines
1.9 KiB
Gherkin
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Feature: Account
Scenario: of a user
Given there is a usual account with the following data:
| nickname | kotovalexarian |
| 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 :)"
And I see text "Не относится к партии"
Scenario: of a supporter
Given there is a supporter account with the following data:
| nickname | kotovalexarian |
| public_name | Alex Kotov |
| biography | Hi there :) |
| country_state | Москва |
When I visit "/accounts/kotovalexarian"
Then I see text "kotovalexarian"
And I see text "Alex Kotov"
And I see text "Hi there :)"
And I see text "Сторонник партии"
And I see text "Москва"
Scenario: of a member
Given there is a member account with the following data:
| nickname | kotovalexarian |
| public_name | Alex Kotov |
| biography | Hi there :) |
| country_state | Москва |
When I visit "/accounts/kotovalexarian"
Then I see text "kotovalexarian"
And I see text "Alex Kotov"
And I see text "Hi there :)"
And I see text "Член партии"
And I see text "Москва"
Scenario: of an excluded member
Given there is an excluded member account with the following data:
| nickname | kotovalexarian |
| public_name | Alex Kotov |
| biography | Hi there :) |
| country_state | Москва |
When I visit "/accounts/kotovalexarian"
Then I see text "kotovalexarian"
And I see text "Alex Kotov"
And I see text "Hi there :)"
And I see text "Исключён из партии"
And I see text "Москва"