Skip to content

Commit 8348108

Browse files
Mindstix_ AniketKMindstix_ AniketK
authored andcommitted
set runLevelto scenario level parallelism
1 parent 6f4f123 commit 8348108

File tree

3 files changed

+17
-28
lines changed

3 files changed

+17
-28
lines changed

src/test/java/com/mindstix/cb/runner/RunnerCourgette.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
@RunWith(Courgette.class)
1414
@CourgetteOptions(
15-
runLevel = CourgetteRunLevel.SCENARIO,
15+
runLevel = CourgetteRunLevel.FEATURE,
1616
showTestOutput = true,
1717
rerunFailedScenarios = false,
1818
threads = 2,
Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,8 @@
11
Feature: Feature to test searching scenarios
22

33
@cbt @ecom @search @web-002 @smoke
4-
Scenario: search
4+
Scenario:
55
Given User is browsing 'Automation Practice' website
66
When User searches for "Dress"
77
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"
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
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 |

0 commit comments

Comments
 (0)