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_in.feature

17 lines
570 B
Gherkin
Raw Normal View History

2018-11-30 19:52:13 -05:00
Feature: Sign in
2018-12-12 17:11:57 -05:00
Background:
Given a user with email "user@example.com" and password "password"
Scenario: with valid credentials
2018-12-12 17:18:33 -05:00
When I try to sign in with email "user@example.com" and password "password"
2018-12-12 17:25:30 -05:00
Then I am signed in as "user@example.com"
2018-12-13 00:46:20 -05:00
And I see the main page
2018-12-12 17:11:57 -05:00
Scenario: with invalid email
2018-12-12 17:18:33 -05:00
When I try to sign in with email "foo@example.com" and password "password"
2018-12-12 17:25:30 -05:00
Then I fail to sign in
2018-12-12 17:11:57 -05:00
Scenario: with invalid password
2018-12-12 17:18:33 -05:00
When I try to sign in with email "user@example.com" and password "foobar"
2018-12-12 17:25:30 -05:00
Then I fail to sign in