forked from nallick/UIUTest_Examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAuthenticationTests.feature
More file actions
32 lines (27 loc) · 982 Bytes
/
Copy pathAuthenticationTests.feature
File metadata and controls
32 lines (27 loc) · 982 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
@run
Feature: Authentication
Scenario: I want to know when I can sign in
Given I am not logged in
When I enter a valid username
And I enter a valid password
Then I can sign in
Scenario: I want to know if I can't sign in
Given I am not logged in
When I have not entered a valid username
Or I have not entered a valid password
Then I can't sign in
Scenario: I want to see my password
Given I am not logged in
When I enter a valid password
And I want to see what I typed
Then My password is not obscured
Scenario: I log in successfully
Given I am not logged in
When I enter valid credentials
And I sign in
Then I see the next screen
Scenario: I enter the wrong credentials
Given I am not logged in
When I enter a valid username
But I enter an invalid password
Then I am not logged in