Skip to content

Commit 3ab5df1

Browse files
bismabisma
authored andcommitted
Add project files.
1 parent ae67961 commit 3ab5df1

File tree

15 files changed

+985
-0
lines changed

15 files changed

+985
-0
lines changed

FeatureFiles/CreateAccount.feature

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
Feature: Create Account
2+
3+
Scenario:Create Account with valid credentials
4+
Given I navigate to given website
5+
And I click on Create an Account Link
6+
And I Enter First Name as "John"
7+
And I Enter Last Name as "Doe"
8+
And I Enter Email as "bisma.test@gmail.com"
9+
And I Enter Password as "Test123@"
10+
And I Enter Confirm Password as "Test123@"
11+
Then I Click on Create an Account button
12+
And I see My Account text
13+
14+
15+
Scenario: Create Account with invalid email id
16+
Given I navigate to given website
17+
And I click on Create an Account Link
18+
And I Enter First Name as "John"
19+
And I Enter Last Name as "Doe"
20+
And I Enter Email as "bisma.test_test@gmail"
21+
And I Enter Password as "Test123@"
22+
And I Enter Confirm Password as "Test123@"
23+
Then I Click on Create an Account button
24+
And I see error text
25+
26+
Scenario: Create Account with duplicate email id
27+
Given I navigate to given website
28+
And I click on Create an Account Link
29+
And I Enter First Name as "John"
30+
And I Enter Last Name as "Doe"
31+
And I Enter duplicate Email as "bisma.test@gmail.com"
32+
And I Enter Password as "Test123@"
33+
And I Enter Confirm Password as "Test123@"
34+
Then I Click on Create an Account button
35+
And I see message error duplcate email error text
36+
37+
Scenario: Create Account with password mismatch
38+
Given I navigate to given website
39+
And I click on Create an Account Link
40+
And I Enter First Name as "John"
41+
And I Enter Last Name as "Doe"
42+
And I Enter Email as "bisma.test_test@gmail.com"
43+
And I Enter Password as "Test123@"
44+
And I Enter Confirm Password as "Test1"
45+
Then I Click on Create an Account button
46+
And I see password mismatch error
47+
48+

FeatureFiles/CreateAccount.feature.cs

Lines changed: 279 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

FeatureFiles/SignIn.feature

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Feature: Signin
2+
3+
Scenario: Login to website using valid credentials
4+
Given I navigate to given website
5+
Then I click on Log In button
6+
And I enter email as "bisma.test@gmail.com" and password as "Test@123"
7+
And I click on Login button
8+
Then I should see the Dashboard tab
9+
Then I close the browser instance

0 commit comments

Comments
 (0)