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

35 lines
1.8 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: Membership application
Scenario: as a visitor
When I visit the main page
And I click the button "Вступить"
And I fill form with the following data:
| key | value |
| Фамилия | Иванов |
| Имя | Иван |
| Отчество | Иванович |
| Профессия или род деятельности | Программист |
| Адрес электронной почты | user@example.com |
| Телефон | 88005553535 |
| Имя пользователя в Telegram | foobar |
| Членство в других общественных организациях | Не скажу |
| Комментарий | Примите, плиз |
And I click the form button "Отправить заявление"
Then I see the membership application tracking page
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
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