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

22 lines
904 B
Gherkin
Raw Normal View History

2018-11-30 18:22:10 -05:00
Feature: Sign up
2019-02-01 17:46:05 -05:00
Scenario: as a visitor
2018-11-30 19:45:51 -05:00
Given I visit "/users/sign_up"
2018-11-30 18:22:10 -05:00
When I fill form with the following data:
2018-11-30 18:45:17 -05:00
| key | value |
2018-11-30 18:22:10 -05:00
| Email | user@example.com |
2018-12-12 19:46:52 -05:00
| Пароль | password |
| Подтверждение пароля | password |
2018-11-30 18:22:10 -05:00
And I click the form button "Регистрация"
2018-12-12 19:46:52 -05:00
Then I am successfully signed up, but my email is unconfirmed
2018-12-12 20:00:24 -05:00
And I received confirmation email as "user@example.com"
2018-12-12 20:27:25 -05:00
2018-12-12 19:46:52 -05:00
When I try to sign in with email "user@example.com" and password "password"
Then I fail to sign in because of unconfirmed email
2018-12-12 20:32:57 -05:00
When I follow confirmation link for email "user@example.com"
Then I see that my email is confirmed
When I try to sign in with email "user@example.com" and password "password"
Then I am signed in as "user@example.com"