From fd05c0d14cd19bcc46a0b62038946564f37fa73f Mon Sep 17 00:00:00 2001 From: Neha Agarwal Date: Wed, 21 Jun 2023 13:59:49 +0530 Subject: [PATCH 1/3] Added BStack to scenerio --- src/test/resources/features/localtest/Local.feature | 2 +- src/test/resources/features/test/StackDemo.feature | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/resources/features/localtest/Local.feature b/src/test/resources/features/localtest/Local.feature index 8d1601f..6c65e4e 100644 --- a/src/test/resources/features/localtest/Local.feature +++ b/src/test/resources/features/localtest/Local.feature @@ -1,5 +1,5 @@ Feature: Verify Local test - Scenario: Navigate to Local check page + Scenario: BStack Local Test: Navigate to Local check page Given I am on the website 'http://bs-local.com:45691/check' Then the page should contain 'Up and running' \ No newline at end of file diff --git a/src/test/resources/features/test/StackDemo.feature b/src/test/resources/features/test/StackDemo.feature index 9e3a2e5..be84742 100644 --- a/src/test/resources/features/test/StackDemo.feature +++ b/src/test/resources/features/test/StackDemo.feature @@ -1,6 +1,6 @@ Feature: BrowserStack Demo - Scenario: Add product to cart + Scenario: BStack Sample Test: Add product to cart Given I am on the website 'https://www.bstackdemo.com' When I select a product and click on 'Add to cart' button Then the product should be added to cart From 95b06ed0b8333221e4b3841a1705fce5f90a5431 Mon Sep 17 00:00:00 2001 From: Neha Agarwal Date: Wed, 21 Jun 2023 14:08:40 +0530 Subject: [PATCH 2/3] Added newline --- src/test/resources/features/localtest/Local.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/resources/features/localtest/Local.feature b/src/test/resources/features/localtest/Local.feature index 6c65e4e..ce1381b 100644 --- a/src/test/resources/features/localtest/Local.feature +++ b/src/test/resources/features/localtest/Local.feature @@ -2,4 +2,4 @@ Feature: Verify Local test Scenario: BStack Local Test: Navigate to Local check page Given I am on the website 'http://bs-local.com:45691/check' - Then the page should contain 'Up and running' \ No newline at end of file + Then the page should contain 'Up and running' From 9f8328df924f95c36e1de58acf8ab73ad73e4dc7 Mon Sep 17 00:00:00 2001 From: Neha Agarwal Date: Fri, 23 Jun 2023 17:27:21 +0530 Subject: [PATCH 3/3] fixed syntax in feature file --- src/test/resources/features/localtest/Local.feature | 2 +- src/test/resources/features/test/StackDemo.feature | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/resources/features/localtest/Local.feature b/src/test/resources/features/localtest/Local.feature index ce1381b..1e3d812 100644 --- a/src/test/resources/features/localtest/Local.feature +++ b/src/test/resources/features/localtest/Local.feature @@ -1,5 +1,5 @@ Feature: Verify Local test - Scenario: BStack Local Test: Navigate to Local check page + Scenario: BStack Local Test - Navigate to Local check page Given I am on the website 'http://bs-local.com:45691/check' Then the page should contain 'Up and running' diff --git a/src/test/resources/features/test/StackDemo.feature b/src/test/resources/features/test/StackDemo.feature index be84742..f0df316 100644 --- a/src/test/resources/features/test/StackDemo.feature +++ b/src/test/resources/features/test/StackDemo.feature @@ -1,6 +1,6 @@ Feature: BrowserStack Demo - Scenario: BStack Sample Test: Add product to cart + Scenario: BStack Sample Test - Add product to cart Given I am on the website 'https://www.bstackdemo.com' When I select a product and click on 'Add to cart' button Then the product should be added to cart