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/membership_app.feature

36 lines
1.8 KiB
Gherkin
Raw Normal View History

2018-12-01 19:38:43 -05:00
Feature: Membership application
2018-12-15 00:24:23 -05:00
Scenario: as a visitor
2018-12-15 00:05:08 -05:00
When I visit the main page
And I click the button "Вступить"
And I fill form with the following data:
2018-12-01 19:38:43 -05:00
| key | value |
| Фамилия | Иванов |
| Имя | Иван |
| Отчество | Иванович |
| Профессия или род деятельности | Программист |
| Адрес электронной почты | user@example.com |
| Телефон | 88005553535 |
| Имя пользователя в Telegram | foobar |
| Членство в других общественных организациях | Не скажу |
| Комментарий | Примите, плиз |
And I click the form button "Отправить заявление"
2018-12-14 01:26:42 -05:00
Then I see the membership application tracking page
2018-12-15 00:24:23 -05:00
2019-01-28 20:47:11 -05:00
Scenario: as a supporter
Given I am signed in as party supporter
When I visit the main page
And I click the button "Ваше заявление"
Then I see that I am already a party supporter
2018-12-15 00:24:23 -05:00
Scenario: as a member
Given I am signed in as party member
When I visit the main page
And I click the button "Ваше заявление"
Then I see that I am already a party member
Scenario: as an excluded member
Given I am signed in as excluded party member
When I visit the main page
And I click the button "Ваше заявление"
Then I see that I am excluded from party