-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest-cases.feature
More file actions
43 lines (36 loc) · 1.15 KB
/
Copy pathtest-cases.feature
File metadata and controls
43 lines (36 loc) · 1.15 KB
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
33
34
35
36
37
38
39
40
41
42
43
@ConduitApp
Feature: Users can log in, create new posts and follow other profiles
Background:
* User has an account created
* User is on the Conduit Homepage
@LogIn
Scenario Outline: Users can log in
Given the user navigates to the "Sign In" page
When the user enters valid <credentials>
And clicks the 'Sign in' button
Then the user will be redirected to the "Your Feed" page
Examples:
| credentials |
| email |
| password |
@CreatePost
Scenario Outline: Users can create a post
Given the user is logged in
And they navigate to the "New Post" page
When the user enters the article <atrributes>
And clicks the "Publish Article" button
Then the article will be visible on the "Global Feed" page
Examples:
| atrributes |
| title |
| subtitle |
| description |
| tag |
@FollowProfile
Scenario: Users can follow other profiles
Given the user is logged in
And they navigate to the "Global Feed" page
When the user clicks on a username
And clicks the "Follow" button
Then the user will see articles on the "Your Feed" page
And the articles will be from the followed profile