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 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: Sign up
Scenario: as a visitor
Given I visit "/users/sign_up"
When I fill form with the following data:
| key | value |
| Email | user@example.com |
| Пароль | password |
| Подтверждение пароля | password |
And I click the form button "Регистрация"
Then I am successfully signed up, but my email is unconfirmed
And I received confirmation email as "user@example.com"
When I try to sign in with email "user@example.com" and password "password"
Then I fail to sign in because of unconfirmed email
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"