1
0
Fork 0
This repository has been archived on 2023-03-28. 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 23:22:10 +00:00
Feature: Sign up
2019-02-01 22:46:05 +00:00
Scenario: as a visitor
2018-12-01 00:45:51 +00:00
Given I visit "/users/sign_up"
2018-11-30 23:22:10 +00:00
When I fill form with the following data:
2018-11-30 23:45:17 +00:00
| key | value |
2018-11-30 23:22:10 +00:00
| Email | user@example.com |
2018-12-13 00:46:52 +00:00
| Пароль | password |
| Подтверждение пароля | password |
2018-11-30 23:22:10 +00:00
And I click the form button "Регистрация"
2018-12-13 00:46:52 +00:00
Then I am successfully signed up, but my email is unconfirmed
2018-12-13 01:00:24 +00:00
And I received confirmation email as "user@example.com"
2018-12-13 01:27:25 +00:00
2018-12-13 00:46:52 +00: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-13 01:32:57 +00: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"