File tree Expand file tree Collapse file tree 3 files changed +17
-28
lines changed
java/com/mindstix/cb/runner Expand file tree Collapse file tree 3 files changed +17
-28
lines changed Original file line number Diff line number Diff line change 12
12
13
13
@ RunWith (Courgette .class )
14
14
@ CourgetteOptions (
15
- runLevel = CourgetteRunLevel .SCENARIO ,
15
+ runLevel = CourgetteRunLevel .FEATURE ,
16
16
showTestOutput = true ,
17
17
rerunFailedScenarios = false ,
18
18
threads = 2 ,
Original file line number Diff line number Diff line change 1
1
Feature : Feature to test searching scenarios
2
2
3
3
@cbt @ecom @search @web-002 @smoke
4
- Scenario : search
4
+ Scenario :
5
5
Given User is browsing 'Automation Practice' website
6
6
When User searches for "Dress"
7
7
Then User lands on "automationpractice.com/index.php?controller=search" Page
8
- And Verifies that the results contain the word "Dress"
9
-
10
- @web @cbt @ecom @signin @web-001 @smoke
11
- Scenario Outline : signin
12
- Given User is browsing 'Automation Practice' website
13
- When User clicks "Sign In" on "Homepage"
14
- And User lands on "automationpractice.com/index.php?controller=authentication&back=my-account" Page
15
- And inputs email address "<email>" and password "<password>"
16
- Then User lands on "automationpractice.com/index.php?controller=my-account" Page
17
- Examples :
18
- | email | password |
19
- | test1 @mx .com | mypassword |
8
+ And Verifies that the results contain the word "Dress"
Original file line number Diff line number Diff line change 1
- Feature : Feature to test sign in scenarios
2
-
3
- # @web @cbt @ecom @signin @web-001 @smoke
4
- Scenario Outline :
5
- Given User is browsing 'Automation Practice' website
6
- When User clicks "Sign In" on "Homepage"
7
- And User lands on "automationpractice.com/index.php?controller=authentication&back=my-account" Page
8
- And inputs email address "<email>" and password "<password>"
9
- Then User lands on "automationpractice.com/index.php?controller=my-account" Page
10
- Examples :
11
- | email | password |
12
- | test1 @mx .com | mypassword |
13
- # This is intended to fail as there is no such user
14
- # | test2@mx.com | invalidpassword |
1
+ Feature : Feature to test sign in scenarios
2
+
3
+ @web @cbt @ecom @signin @web-001 @smoke
4
+ Scenario Outline :
5
+ Given User is browsing 'Automation Practice' website
6
+ When User clicks "Sign In" on "Homepage"
7
+ And User lands on "automationpractice.com/index.php?controller=authentication&back=my-account" Page
8
+ And inputs email address "<email>" and password "<password>"
9
+ Then User lands on "automationpractice.com/index.php?controller=my-account" Page
10
+ Examples :
11
+ | email | password |
12
+ | test1 @mx .com | mypassword |
13
+ # This is intended to fail as there is no such user
14
+ | test2 @mx .com | invalidpassword |
You can’t perform that action at this time.
0 commit comments