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/passport_creation.feature
2018-12-01 05:45:51 +05:00

35 lines
1.4 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: Passport creation
Background:
Given I visit "/passports/new"
Scenario:
Given I want to create the following passport:
| key | value |
| Фамилия | Иванов |
| Имя | Иван |
| Отчество | Иванович |
| Пол | Мужской |
| Место рождения | Москва |
| Серия | 1234 |
| Номер | 567890 |
| Кем выдан | ФСМ |
| Код подразделения | 123-456 |
When I fill the passport creation form
When I click the passport creation button
Then I see the passport page
Scenario:
Given I want to create the following passport:
| key | value |
| Фамилия | Петрова |
| Имя | Мария |
| Отчество | |
| Пол | Женский |
| Место рождения | Мурманск |
| Серия | 0001 |
| Номер | 000001 |
| Кем выдан | ФСМ |
| Код подразделения | 001-001 |
When I fill the passport creation form
When I click the passport creation button
Then I see the passport page