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

20 lines
1.2 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
Background:
Given I visit "/"
Then I click the button "Вступить"
Scenario:
When I fill form with the following data:
| key | value |
| Фамилия | Иванов |
| Имя | Иван |
| Отчество | Иванович |
| Профессия или род деятельности | Программист |
| Адрес электронной почты | user@example.com |
| Телефон | 88005553535 |
| Имя пользователя в Telegram | foobar |
| Членство в других общественных организациях | Не скажу |
| Комментарий | Примите, плиз |
And I click the form button "Отправить заявление"
Then I am at "/membership_apps/\d+"
And I see text "Ваше заявление в обработке"