cypress_task 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/cyemial.yaml +98 -0
- package/Daily_Tracker.xlsx +0 -0
- package/Mannual_testcases.xlsx +0 -0
- package/clean_mochawesome.js +26 -0
- package/cleanupOutput.js +16 -0
- package/cleanupReports.js +15 -0
- package/cypress/e2e/Cart_Testcases/07_verify_Adding_single_item_to_cart.cy.js +40 -0
- package/cypress/e2e/Cart_Testcases/08_verify_removing_item_from_the_cart.cy.js +55 -0
- package/cypress/e2e/Cart_Testcases/09_verify_updating_of_cart_after_adding_multiple_item.cy.js +75 -0
- package/cypress/e2e/Checkout_Testcases/04_verify_complete_successful_purchase_of_single_item.cy.js +83 -0
- package/cypress/e2e/Checkout_Testcases/05_verify_checkout_with_missing_firstname_fails.cy.js +78 -0
- package/cypress/e2e/Checkout_Testcases/06_verify_user_can_cancel_checkout_and redirected_to_cart.cy.js +79 -0
- package/cypress/e2e/Login_Testcases/01_Verify_Valid_Login.cy.js +30 -0
- package/cypress/e2e/Login_Testcases/02_Verify_Invalid_Login_by_wrong_password.cy.js +29 -0
- package/cypress/e2e/Login_Testcases/03_Verify_Lockout_user_failed_login.cy.js +30 -0
- package/cypress/e2e/Regression_Suit/10_Verify_successful_purchase_multiple_items.cy.js +98 -0
- package/cypress/e2e/Regression_Suit/11_testfail.cy.js +98 -0
- package/cypress/e2e/Smoke_Suit/SMK001_Verify user can log in with valid credentials.cy.js +32 -0
- package/cypress/e2e/Smoke_Suit/SMK002_Verify product list loads after login.cy.js +34 -0
- package/cypress/e2e/Smoke_Suit/SMK003_Verify user can add a product to cart.cy.js +49 -0
- package/cypress/failed-specs.json +3 -0
- package/cypress/fixtures/Cart/01_Adding_product_to_cart.json +6 -0
- package/cypress/fixtures/Cart/02_Removing_product_from_cart.json +6 -0
- package/cypress/fixtures/Cart/03_Updating_of_cart_icon.json +7 -0
- package/cypress/fixtures/Checkout/01_purchase_of_single_product.json +10 -0
- package/cypress/fixtures/Checkout/02_missing_info_fail_purchase.json +8 -0
- package/cypress/fixtures/Checkout/03_cancel_purcahse_redirect_to_cart.json +9 -0
- package/cypress/fixtures/Login_Data/01_Valid_login.json +5 -0
- package/cypress/fixtures/Login_Data/02_Invalid_Login.json +6 -0
- package/cypress/fixtures/Login_Data/03_Lockout_user.json +6 -0
- package/cypress/fixtures/regression_data/01_regression_data.json +12 -0
- package/cypress/fixtures/smoke_test_data/SMK001_Verify user can log in with valid credentials.json +5 -0
- package/cypress/fixtures/smoke_test_data/SMK002_Verify product list loads after login.json +6 -0
- package/cypress/fixtures/smoke_test_data/SMK003_Verify user can add a product to cart.json +6 -0
- package/cypress/results/fail_2025-12-19T160847+0530-11_testfail.json +110 -0
- package/cypress/results/fail_2025-12-19T160936+0530-11_testfail.json +110 -0
- package/cypress/results/pass_2025-12-19T160750+0530-04_verify_complete_successful_purchase_of_single_item.json +106 -0
- package/cypress/results/pass_2025-12-19T160756+0530-05_verify_checkout_with_missing_firstname_fails.json +106 -0
- package/cypress/results/pass_2025-12-19T160802+0530-06_verify_user_can_cancel_checkout_and redirected_to_cart.json +106 -0
- package/cypress/results/pass_2025-12-19T160806+0530-07_verify_Adding_single_item_to_cart.json +106 -0
- package/cypress/results/pass_2025-12-19T160809+0530-08_verify_removing_item_from_the_cart.json +106 -0
- package/cypress/results/pass_2025-12-19T160814+0530-09_verify_updating_of_cart_after_adding_multiple_item.json +106 -0
- package/cypress/results/pass_2025-12-19T160822+0530-10_Verify_successful_purchase_multiple_items.json +106 -0
- package/cypress/results/pass_2025-12-19T160850+0530-SMK001_Verify user can log in with valid credentials.json +106 -0
- package/cypress/results/pass_2025-12-19T160854+0530-SMK002_Verify product list loads after login.json +106 -0
- package/cypress/results/pass_2025-12-19T160857+0530-SMK003_Verify user can add a product to cart.json +106 -0
- package/cypress/results/pass_2025-12-19T160900+0530-01_Verify_Valid_Login.json +106 -0
- package/cypress/results/pass_2025-12-19T160903+0530-02_Verify_Invalid_Login_by_wrong_password.json +106 -0
- package/cypress/results/pass_2025-12-19T160905+0530-03_Verify_Lockout_user_failed_login.json +106 -0
- package/cypress/screenshots/11_testfail.cy.js/11_failed -- 02_failed (failed) (attempt 2).png +0 -0
- package/cypress/screenshots/11_testfail.cy.js/11_failed -- 02_failed (failed).png +0 -0
- package/cypress/support/Locators/Common_Locators.js +57 -0
- package/cypress/support/commands.js +25 -0
- package/cypress/support/e2e.js +43 -0
- package/cypress/support/encryption.js +45 -0
- package/cypress/support/env.js +31 -0
- package/cypress/support/interface.js +6 -0
- package/cypress/support/pageObjects/CartPage.js +56 -0
- package/cypress/support/pageObjects/CheckoutPage.js +111 -0
- package/cypress/support/pageObjects/GenerateRandomData.js +62 -0
- package/cypress/support/pageObjects/Homepage.js +92 -0
- package/cypress/support/pageObjects/navigationPage.js +44 -0
- package/cypress.config.js +44 -0
- package/mochawesome-report/assets/MaterialIcons-Regular.woff +0 -0
- package/mochawesome-report/assets/MaterialIcons-Regular.woff2 +0 -0
- package/mochawesome-report/assets/app.css +14 -0
- package/mochawesome-report/assets/app.js +2 -0
- package/mochawesome-report/assets/app.js.LICENSE.txt +55 -0
- package/mochawesome-report/assets/roboto-light-webfont.woff +0 -0
- package/mochawesome-report/assets/roboto-light-webfont.woff2 +0 -0
- package/mochawesome-report/assets/roboto-medium-webfont.woff +0 -0
- package/mochawesome-report/assets/roboto-medium-webfont.woff2 +0 -0
- package/mochawesome-report/assets/roboto-regular-webfont.woff +0 -0
- package/mochawesome-report/assets/roboto-regular-webfont.woff2 +0 -0
- package/mochawesome-report/output.html +2 -0
- package/output.json +864 -0
- package/package.json +43 -0
- package/run-parallel-cypress.js +57 -0
- package/runAllSteps.js +47 -0
- package/syncTestResultsToExcel.js +219 -0
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
{
|
|
2
|
+
"stats": {
|
|
3
|
+
"suites": 1,
|
|
4
|
+
"tests": 1,
|
|
5
|
+
"passes": 1,
|
|
6
|
+
"pending": 0,
|
|
7
|
+
"failures": 0,
|
|
8
|
+
"start": "2025-12-19T10:38:15.555Z",
|
|
9
|
+
"end": "2025-12-19T10:38:22.053Z",
|
|
10
|
+
"duration": 6498,
|
|
11
|
+
"testsRegistered": 1,
|
|
12
|
+
"passPercent": 100,
|
|
13
|
+
"pendingPercent": 0,
|
|
14
|
+
"other": 0,
|
|
15
|
+
"hasOther": false,
|
|
16
|
+
"skipped": 0,
|
|
17
|
+
"hasSkipped": false
|
|
18
|
+
},
|
|
19
|
+
"results": [
|
|
20
|
+
{
|
|
21
|
+
"uuid": "d2db3f4a-eb52-4906-bce7-d96892472939",
|
|
22
|
+
"title": "",
|
|
23
|
+
"fullFile": "cypress\\e2e\\Regression_Suit\\10_Verify_successful_purchase_multiple_items.cy.js",
|
|
24
|
+
"file": "cypress\\e2e\\Regression_Suit\\10_Verify_successful_purchase_multiple_items.cy.js",
|
|
25
|
+
"beforeHooks": [],
|
|
26
|
+
"afterHooks": [],
|
|
27
|
+
"tests": [],
|
|
28
|
+
"suites": [
|
|
29
|
+
{
|
|
30
|
+
"uuid": "477df4dd-4704-4923-b95a-4d3e7eef195e",
|
|
31
|
+
"title": "10_verify_complete_successful_purchase_of_single_item",
|
|
32
|
+
"fullFile": "",
|
|
33
|
+
"file": "",
|
|
34
|
+
"beforeHooks": [],
|
|
35
|
+
"afterHooks": [],
|
|
36
|
+
"tests": [
|
|
37
|
+
{
|
|
38
|
+
"title": "01_verify_complete_successful_purchase_of_single_item",
|
|
39
|
+
"fullTitle": "10_verify_complete_successful_purchase_of_single_item 01_verify_complete_successful_purchase_of_single_item",
|
|
40
|
+
"timedOut": null,
|
|
41
|
+
"duration": 5592,
|
|
42
|
+
"state": "passed",
|
|
43
|
+
"speed": "medium",
|
|
44
|
+
"pass": true,
|
|
45
|
+
"fail": false,
|
|
46
|
+
"pending": false,
|
|
47
|
+
"context": null,
|
|
48
|
+
"code": "//verify the no item count added to cart \n_Homepage.homepage.verifyCartIconQuantity(0);\n//add Sauce Labs Bike Light in the cart\n_Homepage.homepage.AddingItemtoCart(Bike_light);\n//verify the item count added to cart \n_Homepage.homepage.verifyCartIconQuantity(1);\ncy.wait(1000);\n//add Sauce Labs Backpack in the cart\n_Homepage.homepage.AddingItemtoCart(Bagpack);\n//verify the item count added to cart \n_Homepage.homepage.verifyCartIconQuantity(2);\n//click on the cart icon \n_Homepage.homepage.ClickonCartBtn();\n//verify the product is added in to the cart \n_CartPage.cartpage.verifytheCartpageOpened();\n//verify the item is added to the cart \n_CartPage.cartpage.VerifyAddedItemtoCart(Bike_light);\n//verify the item is added to the cart \n_CartPage.cartpage.VerifyAddedItemtoCart(Bagpack);\n//verify the item count added to cart \n_Homepage.homepage.verifyCartIconQuantity(2);\n//click on checkout button\n_CartPage.cartpage.clickOnCheckoutButton();\n//verify checkout page open\n_CheckoutPage.checkout_page.verifytheCheckoutpageOpened();\n//enter your information for checkout\n_CheckoutPage.checkout_page.enterDetailsforCheckout(checkout_Info_Parameter);\n//verify the item count added to cart \n_Homepage.homepage.verifyCartIconQuantity(2);\n//click on Continue button\n_CheckoutPage.checkout_page.clickOnContinueButton();\n//verify the item is added to the cart \n_CheckoutPage.checkout_page.VerifyProductNameAndPriceInFinalStep(Bike_light, Price_Item_1);\n//verify the item is added to the cart \n_CheckoutPage.checkout_page.VerifyProductNameAndPriceInFinalStep(Bagpack, Price_Item_2);\n//verify total Price to pay after tax\n_CheckoutPage.checkout_page.verifyTotalPriceToPay();\n//click on Finish Button\n_CheckoutPage.checkout_page.clickOnFinishButton();\n//verify Purchase was successful\n_CheckoutPage.checkout_page.VerifyPurchase_Success();\n//verify the item count added to cart \n_Homepage.homepage.verifyCartIconQuantity(0);",
|
|
49
|
+
"err": {},
|
|
50
|
+
"uuid": "71b70869-9c3e-4a64-86fa-bfb8164cc603",
|
|
51
|
+
"parentUUID": "477df4dd-4704-4923-b95a-4d3e7eef195e",
|
|
52
|
+
"isHook": false,
|
|
53
|
+
"skipped": false
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
"suites": [],
|
|
57
|
+
"passes": [
|
|
58
|
+
"71b70869-9c3e-4a64-86fa-bfb8164cc603"
|
|
59
|
+
],
|
|
60
|
+
"failures": [],
|
|
61
|
+
"pending": [],
|
|
62
|
+
"skipped": [],
|
|
63
|
+
"duration": 5592,
|
|
64
|
+
"root": false,
|
|
65
|
+
"rootEmpty": false,
|
|
66
|
+
"_timeout": 2000
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
"passes": [],
|
|
70
|
+
"failures": [],
|
|
71
|
+
"pending": [],
|
|
72
|
+
"skipped": [],
|
|
73
|
+
"duration": 0,
|
|
74
|
+
"root": true,
|
|
75
|
+
"rootEmpty": true,
|
|
76
|
+
"_timeout": 2000
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"meta": {
|
|
80
|
+
"mocha": {
|
|
81
|
+
"version": "7.2.0"
|
|
82
|
+
},
|
|
83
|
+
"mochawesome": {
|
|
84
|
+
"options": {
|
|
85
|
+
"quiet": false,
|
|
86
|
+
"reportFilename": "[status]_[datetime]-[name]",
|
|
87
|
+
"saveHtml": false,
|
|
88
|
+
"saveJson": true,
|
|
89
|
+
"consoleReporter": "spec",
|
|
90
|
+
"useInlineDiffs": false,
|
|
91
|
+
"code": true
|
|
92
|
+
},
|
|
93
|
+
"version": "7.1.3"
|
|
94
|
+
},
|
|
95
|
+
"marge": {
|
|
96
|
+
"options": {
|
|
97
|
+
"reportDir": "./cypress/results",
|
|
98
|
+
"reportFilename": "[status]_[datetime]-[name]",
|
|
99
|
+
"overwrite": true,
|
|
100
|
+
"html": false,
|
|
101
|
+
"json": true
|
|
102
|
+
},
|
|
103
|
+
"version": "6.2.0"
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
{
|
|
2
|
+
"stats": {
|
|
3
|
+
"suites": 1,
|
|
4
|
+
"tests": 1,
|
|
5
|
+
"passes": 1,
|
|
6
|
+
"pending": 0,
|
|
7
|
+
"failures": 0,
|
|
8
|
+
"start": "2025-12-19T10:38:48.549Z",
|
|
9
|
+
"end": "2025-12-19T10:38:50.701Z",
|
|
10
|
+
"duration": 2152,
|
|
11
|
+
"testsRegistered": 1,
|
|
12
|
+
"passPercent": 100,
|
|
13
|
+
"pendingPercent": 0,
|
|
14
|
+
"other": 0,
|
|
15
|
+
"hasOther": false,
|
|
16
|
+
"skipped": 0,
|
|
17
|
+
"hasSkipped": false
|
|
18
|
+
},
|
|
19
|
+
"results": [
|
|
20
|
+
{
|
|
21
|
+
"uuid": "3443305f-b9aa-49a8-b190-f1c4f6c4493f",
|
|
22
|
+
"title": "",
|
|
23
|
+
"fullFile": "cypress\\e2e\\Smoke_Suit\\SMK001_Verify user can log in with valid credentials.cy.js",
|
|
24
|
+
"file": "cypress\\e2e\\Smoke_Suit\\SMK001_Verify user can log in with valid credentials.cy.js",
|
|
25
|
+
"beforeHooks": [],
|
|
26
|
+
"afterHooks": [],
|
|
27
|
+
"tests": [],
|
|
28
|
+
"suites": [
|
|
29
|
+
{
|
|
30
|
+
"uuid": "5bf6b2da-2294-49ea-ab67-6e882212c83a",
|
|
31
|
+
"title": "SMK001_Verify user can log in with valid credentials",
|
|
32
|
+
"fullFile": "",
|
|
33
|
+
"file": "",
|
|
34
|
+
"beforeHooks": [],
|
|
35
|
+
"afterHooks": [],
|
|
36
|
+
"tests": [
|
|
37
|
+
{
|
|
38
|
+
"title": "SMK001_Verify user can log in with valid credentials",
|
|
39
|
+
"fullTitle": "SMK001_Verify user can log in with valid credentials SMK001_Verify user can log in with valid credentials",
|
|
40
|
+
"timedOut": null,
|
|
41
|
+
"duration": 1066,
|
|
42
|
+
"state": "passed",
|
|
43
|
+
"speed": "fast",
|
|
44
|
+
"pass": true,
|
|
45
|
+
"fail": false,
|
|
46
|
+
"pending": false,
|
|
47
|
+
"context": null,
|
|
48
|
+
"code": "//login with valid user\n_navigationPage.NavigationPage.loginWithCredentials(User);\n//verify the home is visble \n_Homepage.homepage.verifyHomepage();\n//verify the products page is opened and products are displayed\n_Homepage.homepage.verifyProductsPage();",
|
|
49
|
+
"err": {},
|
|
50
|
+
"uuid": "ece1f2ae-06b2-4444-8ab5-f0ea05eaa643",
|
|
51
|
+
"parentUUID": "5bf6b2da-2294-49ea-ab67-6e882212c83a",
|
|
52
|
+
"isHook": false,
|
|
53
|
+
"skipped": false
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
"suites": [],
|
|
57
|
+
"passes": [
|
|
58
|
+
"ece1f2ae-06b2-4444-8ab5-f0ea05eaa643"
|
|
59
|
+
],
|
|
60
|
+
"failures": [],
|
|
61
|
+
"pending": [],
|
|
62
|
+
"skipped": [],
|
|
63
|
+
"duration": 1066,
|
|
64
|
+
"root": false,
|
|
65
|
+
"rootEmpty": false,
|
|
66
|
+
"_timeout": 2000
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
"passes": [],
|
|
70
|
+
"failures": [],
|
|
71
|
+
"pending": [],
|
|
72
|
+
"skipped": [],
|
|
73
|
+
"duration": 0,
|
|
74
|
+
"root": true,
|
|
75
|
+
"rootEmpty": true,
|
|
76
|
+
"_timeout": 2000
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"meta": {
|
|
80
|
+
"mocha": {
|
|
81
|
+
"version": "7.2.0"
|
|
82
|
+
},
|
|
83
|
+
"mochawesome": {
|
|
84
|
+
"options": {
|
|
85
|
+
"quiet": false,
|
|
86
|
+
"reportFilename": "[status]_[datetime]-[name]",
|
|
87
|
+
"saveHtml": false,
|
|
88
|
+
"saveJson": true,
|
|
89
|
+
"consoleReporter": "spec",
|
|
90
|
+
"useInlineDiffs": false,
|
|
91
|
+
"code": true
|
|
92
|
+
},
|
|
93
|
+
"version": "7.1.3"
|
|
94
|
+
},
|
|
95
|
+
"marge": {
|
|
96
|
+
"options": {
|
|
97
|
+
"reportDir": "./cypress/results",
|
|
98
|
+
"reportFilename": "[status]_[datetime]-[name]",
|
|
99
|
+
"overwrite": true,
|
|
100
|
+
"html": false,
|
|
101
|
+
"json": true
|
|
102
|
+
},
|
|
103
|
+
"version": "6.2.0"
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
{
|
|
2
|
+
"stats": {
|
|
3
|
+
"suites": 1,
|
|
4
|
+
"tests": 1,
|
|
5
|
+
"passes": 1,
|
|
6
|
+
"pending": 0,
|
|
7
|
+
"failures": 0,
|
|
8
|
+
"start": "2025-12-19T10:38:51.529Z",
|
|
9
|
+
"end": "2025-12-19T10:38:54.458Z",
|
|
10
|
+
"duration": 2929,
|
|
11
|
+
"testsRegistered": 1,
|
|
12
|
+
"passPercent": 100,
|
|
13
|
+
"pendingPercent": 0,
|
|
14
|
+
"other": 0,
|
|
15
|
+
"hasOther": false,
|
|
16
|
+
"skipped": 0,
|
|
17
|
+
"hasSkipped": false
|
|
18
|
+
},
|
|
19
|
+
"results": [
|
|
20
|
+
{
|
|
21
|
+
"uuid": "ce7669f7-1370-4cf7-af26-3d2d3f7dbe9a",
|
|
22
|
+
"title": "",
|
|
23
|
+
"fullFile": "cypress\\e2e\\Smoke_Suit\\SMK002_Verify product list loads after login.cy.js",
|
|
24
|
+
"file": "cypress\\e2e\\Smoke_Suit\\SMK002_Verify product list loads after login.cy.js",
|
|
25
|
+
"beforeHooks": [],
|
|
26
|
+
"afterHooks": [],
|
|
27
|
+
"tests": [],
|
|
28
|
+
"suites": [
|
|
29
|
+
{
|
|
30
|
+
"uuid": "5e626ca8-05b0-42e9-9b0d-08a276d3e428",
|
|
31
|
+
"title": "SMK002_Verify product list loads after login",
|
|
32
|
+
"fullFile": "",
|
|
33
|
+
"file": "",
|
|
34
|
+
"beforeHooks": [],
|
|
35
|
+
"afterHooks": [],
|
|
36
|
+
"tests": [
|
|
37
|
+
{
|
|
38
|
+
"title": "SMK002_Verify product list loads after login",
|
|
39
|
+
"fullTitle": "SMK002_Verify product list loads after login SMK002_Verify product list loads after login",
|
|
40
|
+
"timedOut": null,
|
|
41
|
+
"duration": 2069,
|
|
42
|
+
"state": "passed",
|
|
43
|
+
"speed": "fast",
|
|
44
|
+
"pass": true,
|
|
45
|
+
"fail": false,
|
|
46
|
+
"pending": false,
|
|
47
|
+
"context": null,
|
|
48
|
+
"code": "//login with valid user\n_navigationPage.NavigationPage.loginWithCredentials(User);\n//verify the home is visble \n_Homepage.homepage.verifyHomepage();\n//verify the products page is opened and products are displayed\n_Homepage.homepage.verifyProductsPage();\n//verify minimum 6 products are displayed\n_Homepage.homepage.verifyMinimumProductsDisplayed(this.data.product_length);",
|
|
49
|
+
"err": {},
|
|
50
|
+
"uuid": "bc362bb9-59c8-4ceb-a99f-b8d07946c896",
|
|
51
|
+
"parentUUID": "5e626ca8-05b0-42e9-9b0d-08a276d3e428",
|
|
52
|
+
"isHook": false,
|
|
53
|
+
"skipped": false
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
"suites": [],
|
|
57
|
+
"passes": [
|
|
58
|
+
"bc362bb9-59c8-4ceb-a99f-b8d07946c896"
|
|
59
|
+
],
|
|
60
|
+
"failures": [],
|
|
61
|
+
"pending": [],
|
|
62
|
+
"skipped": [],
|
|
63
|
+
"duration": 2069,
|
|
64
|
+
"root": false,
|
|
65
|
+
"rootEmpty": false,
|
|
66
|
+
"_timeout": 2000
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
"passes": [],
|
|
70
|
+
"failures": [],
|
|
71
|
+
"pending": [],
|
|
72
|
+
"skipped": [],
|
|
73
|
+
"duration": 0,
|
|
74
|
+
"root": true,
|
|
75
|
+
"rootEmpty": true,
|
|
76
|
+
"_timeout": 2000
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"meta": {
|
|
80
|
+
"mocha": {
|
|
81
|
+
"version": "7.2.0"
|
|
82
|
+
},
|
|
83
|
+
"mochawesome": {
|
|
84
|
+
"options": {
|
|
85
|
+
"quiet": false,
|
|
86
|
+
"reportFilename": "[status]_[datetime]-[name]",
|
|
87
|
+
"saveHtml": false,
|
|
88
|
+
"saveJson": true,
|
|
89
|
+
"consoleReporter": "spec",
|
|
90
|
+
"useInlineDiffs": false,
|
|
91
|
+
"code": true
|
|
92
|
+
},
|
|
93
|
+
"version": "7.1.3"
|
|
94
|
+
},
|
|
95
|
+
"marge": {
|
|
96
|
+
"options": {
|
|
97
|
+
"reportDir": "./cypress/results",
|
|
98
|
+
"reportFilename": "[status]_[datetime]-[name]",
|
|
99
|
+
"overwrite": true,
|
|
100
|
+
"html": false,
|
|
101
|
+
"json": true
|
|
102
|
+
},
|
|
103
|
+
"version": "6.2.0"
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
{
|
|
2
|
+
"stats": {
|
|
3
|
+
"suites": 1,
|
|
4
|
+
"tests": 1,
|
|
5
|
+
"passes": 1,
|
|
6
|
+
"pending": 0,
|
|
7
|
+
"failures": 0,
|
|
8
|
+
"start": "2025-12-19T10:38:55.299Z",
|
|
9
|
+
"end": "2025-12-19T10:38:57.856Z",
|
|
10
|
+
"duration": 2557,
|
|
11
|
+
"testsRegistered": 1,
|
|
12
|
+
"passPercent": 100,
|
|
13
|
+
"pendingPercent": 0,
|
|
14
|
+
"other": 0,
|
|
15
|
+
"hasOther": false,
|
|
16
|
+
"skipped": 0,
|
|
17
|
+
"hasSkipped": false
|
|
18
|
+
},
|
|
19
|
+
"results": [
|
|
20
|
+
{
|
|
21
|
+
"uuid": "ab2111f6-78ac-4c2b-9fdc-b5353ea8f9dc",
|
|
22
|
+
"title": "",
|
|
23
|
+
"fullFile": "cypress\\e2e\\Smoke_Suit\\SMK003_Verify user can add a product to cart.cy.js",
|
|
24
|
+
"file": "cypress\\e2e\\Smoke_Suit\\SMK003_Verify user can add a product to cart.cy.js",
|
|
25
|
+
"beforeHooks": [],
|
|
26
|
+
"afterHooks": [],
|
|
27
|
+
"tests": [],
|
|
28
|
+
"suites": [
|
|
29
|
+
{
|
|
30
|
+
"uuid": "7f2ebb3e-9b41-4457-9a7a-92db0a6aaef9",
|
|
31
|
+
"title": "SMK003_Verify user can add a product to cart",
|
|
32
|
+
"fullFile": "",
|
|
33
|
+
"file": "",
|
|
34
|
+
"beforeHooks": [],
|
|
35
|
+
"afterHooks": [],
|
|
36
|
+
"tests": [
|
|
37
|
+
{
|
|
38
|
+
"title": "SMK003_Verify user can add a product to cart",
|
|
39
|
+
"fullTitle": "SMK003_Verify user can add a product to cart SMK003_Verify user can add a product to cart",
|
|
40
|
+
"timedOut": null,
|
|
41
|
+
"duration": 1682,
|
|
42
|
+
"state": "passed",
|
|
43
|
+
"speed": "fast",
|
|
44
|
+
"pass": true,
|
|
45
|
+
"fail": false,
|
|
46
|
+
"pending": false,
|
|
47
|
+
"context": null,
|
|
48
|
+
"code": "//add Sauce Labs Backpack in the cart\n_Homepage.homepage.AddingItemtoCart(Bagpack);\n//verify the item count added to cart \n_Homepage.homepage.verifyCartIconQuantity(1);\n//verify remove item button is visible for the same product\n_Homepage.homepage.verifyRemovefromCartButton(Bagpack);\n//click on the cart icon \n_Homepage.homepage.ClickonCartBtn();\n//verify the product is added in to the cart \n_CartPage.cartpage.verifytheCartpageOpened();\n//verify the item is added to the cart \n_CartPage.cartpage.VerifyAddedItemtoCart(Bagpack);\n//verify the item count added to cart \n_Homepage.homepage.verifyCartIconQuantity(1);",
|
|
49
|
+
"err": {},
|
|
50
|
+
"uuid": "d3f3f6de-1b3e-493d-b52a-08ee20f92036",
|
|
51
|
+
"parentUUID": "7f2ebb3e-9b41-4457-9a7a-92db0a6aaef9",
|
|
52
|
+
"isHook": false,
|
|
53
|
+
"skipped": false
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
"suites": [],
|
|
57
|
+
"passes": [
|
|
58
|
+
"d3f3f6de-1b3e-493d-b52a-08ee20f92036"
|
|
59
|
+
],
|
|
60
|
+
"failures": [],
|
|
61
|
+
"pending": [],
|
|
62
|
+
"skipped": [],
|
|
63
|
+
"duration": 1682,
|
|
64
|
+
"root": false,
|
|
65
|
+
"rootEmpty": false,
|
|
66
|
+
"_timeout": 2000
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
"passes": [],
|
|
70
|
+
"failures": [],
|
|
71
|
+
"pending": [],
|
|
72
|
+
"skipped": [],
|
|
73
|
+
"duration": 0,
|
|
74
|
+
"root": true,
|
|
75
|
+
"rootEmpty": true,
|
|
76
|
+
"_timeout": 2000
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"meta": {
|
|
80
|
+
"mocha": {
|
|
81
|
+
"version": "7.2.0"
|
|
82
|
+
},
|
|
83
|
+
"mochawesome": {
|
|
84
|
+
"options": {
|
|
85
|
+
"quiet": false,
|
|
86
|
+
"reportFilename": "[status]_[datetime]-[name]",
|
|
87
|
+
"saveHtml": false,
|
|
88
|
+
"saveJson": true,
|
|
89
|
+
"consoleReporter": "spec",
|
|
90
|
+
"useInlineDiffs": false,
|
|
91
|
+
"code": true
|
|
92
|
+
},
|
|
93
|
+
"version": "7.1.3"
|
|
94
|
+
},
|
|
95
|
+
"marge": {
|
|
96
|
+
"options": {
|
|
97
|
+
"reportDir": "./cypress/results",
|
|
98
|
+
"reportFilename": "[status]_[datetime]-[name]",
|
|
99
|
+
"overwrite": true,
|
|
100
|
+
"html": false,
|
|
101
|
+
"json": true
|
|
102
|
+
},
|
|
103
|
+
"version": "6.2.0"
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
{
|
|
2
|
+
"stats": {
|
|
3
|
+
"suites": 1,
|
|
4
|
+
"tests": 1,
|
|
5
|
+
"passes": 1,
|
|
6
|
+
"pending": 0,
|
|
7
|
+
"failures": 0,
|
|
8
|
+
"start": "2025-12-19T10:38:58.689Z",
|
|
9
|
+
"end": "2025-12-19T10:39:00.588Z",
|
|
10
|
+
"duration": 1899,
|
|
11
|
+
"testsRegistered": 1,
|
|
12
|
+
"passPercent": 100,
|
|
13
|
+
"pendingPercent": 0,
|
|
14
|
+
"other": 0,
|
|
15
|
+
"hasOther": false,
|
|
16
|
+
"skipped": 0,
|
|
17
|
+
"hasSkipped": false
|
|
18
|
+
},
|
|
19
|
+
"results": [
|
|
20
|
+
{
|
|
21
|
+
"uuid": "e3aefc54-2c9d-43af-8dc5-24731f5bf33b",
|
|
22
|
+
"title": "",
|
|
23
|
+
"fullFile": "cypress\\e2e\\Login_Testcases\\01_Verify_Valid_Login.cy.js",
|
|
24
|
+
"file": "cypress\\e2e\\Login_Testcases\\01_Verify_Valid_Login.cy.js",
|
|
25
|
+
"beforeHooks": [],
|
|
26
|
+
"afterHooks": [],
|
|
27
|
+
"tests": [],
|
|
28
|
+
"suites": [
|
|
29
|
+
{
|
|
30
|
+
"uuid": "4479ca34-5fbd-43dc-afb1-0e1235b4a2d1",
|
|
31
|
+
"title": "01_Verify_Valid_Login",
|
|
32
|
+
"fullFile": "",
|
|
33
|
+
"file": "",
|
|
34
|
+
"beforeHooks": [],
|
|
35
|
+
"afterHooks": [],
|
|
36
|
+
"tests": [
|
|
37
|
+
{
|
|
38
|
+
"title": "01_Verify_Valid_Login",
|
|
39
|
+
"fullTitle": "01_Verify_Valid_Login 01_Verify_Valid_Login",
|
|
40
|
+
"timedOut": null,
|
|
41
|
+
"duration": 1045,
|
|
42
|
+
"state": "passed",
|
|
43
|
+
"speed": "fast",
|
|
44
|
+
"pass": true,
|
|
45
|
+
"fail": false,
|
|
46
|
+
"pending": false,
|
|
47
|
+
"context": null,
|
|
48
|
+
"code": "//login with valid user\n_navigationPage.NavigationPage.loginWithCredentials(User);\n//verify the home is visble \n_Homepage.homepage.verifyHomepage();",
|
|
49
|
+
"err": {},
|
|
50
|
+
"uuid": "6459f922-a492-4253-9f00-1811357f4236",
|
|
51
|
+
"parentUUID": "4479ca34-5fbd-43dc-afb1-0e1235b4a2d1",
|
|
52
|
+
"isHook": false,
|
|
53
|
+
"skipped": false
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
"suites": [],
|
|
57
|
+
"passes": [
|
|
58
|
+
"6459f922-a492-4253-9f00-1811357f4236"
|
|
59
|
+
],
|
|
60
|
+
"failures": [],
|
|
61
|
+
"pending": [],
|
|
62
|
+
"skipped": [],
|
|
63
|
+
"duration": 1045,
|
|
64
|
+
"root": false,
|
|
65
|
+
"rootEmpty": false,
|
|
66
|
+
"_timeout": 2000
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
"passes": [],
|
|
70
|
+
"failures": [],
|
|
71
|
+
"pending": [],
|
|
72
|
+
"skipped": [],
|
|
73
|
+
"duration": 0,
|
|
74
|
+
"root": true,
|
|
75
|
+
"rootEmpty": true,
|
|
76
|
+
"_timeout": 2000
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"meta": {
|
|
80
|
+
"mocha": {
|
|
81
|
+
"version": "7.2.0"
|
|
82
|
+
},
|
|
83
|
+
"mochawesome": {
|
|
84
|
+
"options": {
|
|
85
|
+
"quiet": false,
|
|
86
|
+
"reportFilename": "[status]_[datetime]-[name]",
|
|
87
|
+
"saveHtml": false,
|
|
88
|
+
"saveJson": true,
|
|
89
|
+
"consoleReporter": "spec",
|
|
90
|
+
"useInlineDiffs": false,
|
|
91
|
+
"code": true
|
|
92
|
+
},
|
|
93
|
+
"version": "7.1.3"
|
|
94
|
+
},
|
|
95
|
+
"marge": {
|
|
96
|
+
"options": {
|
|
97
|
+
"reportDir": "./cypress/results",
|
|
98
|
+
"reportFilename": "[status]_[datetime]-[name]",
|
|
99
|
+
"overwrite": true,
|
|
100
|
+
"html": false,
|
|
101
|
+
"json": true
|
|
102
|
+
},
|
|
103
|
+
"version": "6.2.0"
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
package/cypress/results/pass_2025-12-19T160903+0530-02_Verify_Invalid_Login_by_wrong_password.json
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
{
|
|
2
|
+
"stats": {
|
|
3
|
+
"suites": 1,
|
|
4
|
+
"tests": 1,
|
|
5
|
+
"passes": 1,
|
|
6
|
+
"pending": 0,
|
|
7
|
+
"failures": 0,
|
|
8
|
+
"start": "2025-12-19T10:39:01.405Z",
|
|
9
|
+
"end": "2025-12-19T10:39:03.214Z",
|
|
10
|
+
"duration": 1809,
|
|
11
|
+
"testsRegistered": 1,
|
|
12
|
+
"passPercent": 100,
|
|
13
|
+
"pendingPercent": 0,
|
|
14
|
+
"other": 0,
|
|
15
|
+
"hasOther": false,
|
|
16
|
+
"skipped": 0,
|
|
17
|
+
"hasSkipped": false
|
|
18
|
+
},
|
|
19
|
+
"results": [
|
|
20
|
+
{
|
|
21
|
+
"uuid": "63a9d027-9062-4bc8-9f46-1de252152f43",
|
|
22
|
+
"title": "",
|
|
23
|
+
"fullFile": "cypress\\e2e\\Login_Testcases\\02_Verify_Invalid_Login_by_wrong_password.cy.js",
|
|
24
|
+
"file": "cypress\\e2e\\Login_Testcases\\02_Verify_Invalid_Login_by_wrong_password.cy.js",
|
|
25
|
+
"beforeHooks": [],
|
|
26
|
+
"afterHooks": [],
|
|
27
|
+
"tests": [],
|
|
28
|
+
"suites": [
|
|
29
|
+
{
|
|
30
|
+
"uuid": "fded1337-c99b-4515-a48e-9abf14903a89",
|
|
31
|
+
"title": "02_Verify_Invalid_Login_by_wrong_password",
|
|
32
|
+
"fullFile": "",
|
|
33
|
+
"file": "",
|
|
34
|
+
"beforeHooks": [],
|
|
35
|
+
"afterHooks": [],
|
|
36
|
+
"tests": [
|
|
37
|
+
{
|
|
38
|
+
"title": "02_Verify_Invalid_Login_by_wrong_password",
|
|
39
|
+
"fullTitle": "02_Verify_Invalid_Login_by_wrong_password 02_Verify_Invalid_Login_by_wrong_password",
|
|
40
|
+
"timedOut": null,
|
|
41
|
+
"duration": 1074,
|
|
42
|
+
"state": "passed",
|
|
43
|
+
"speed": "fast",
|
|
44
|
+
"pass": true,
|
|
45
|
+
"fail": false,
|
|
46
|
+
"pending": false,
|
|
47
|
+
"context": null,
|
|
48
|
+
"code": "//login with valid user\n_navigationPage.NavigationPage.loginWithCredentials(Invalid_User);\n//verify the home is visble \n_navigationPage.NavigationPage.verifyLoginErrorPopup(ErrorText);",
|
|
49
|
+
"err": {},
|
|
50
|
+
"uuid": "1858b47a-2554-44fc-9761-d39e9bfe3046",
|
|
51
|
+
"parentUUID": "fded1337-c99b-4515-a48e-9abf14903a89",
|
|
52
|
+
"isHook": false,
|
|
53
|
+
"skipped": false
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
"suites": [],
|
|
57
|
+
"passes": [
|
|
58
|
+
"1858b47a-2554-44fc-9761-d39e9bfe3046"
|
|
59
|
+
],
|
|
60
|
+
"failures": [],
|
|
61
|
+
"pending": [],
|
|
62
|
+
"skipped": [],
|
|
63
|
+
"duration": 1074,
|
|
64
|
+
"root": false,
|
|
65
|
+
"rootEmpty": false,
|
|
66
|
+
"_timeout": 2000
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
"passes": [],
|
|
70
|
+
"failures": [],
|
|
71
|
+
"pending": [],
|
|
72
|
+
"skipped": [],
|
|
73
|
+
"duration": 0,
|
|
74
|
+
"root": true,
|
|
75
|
+
"rootEmpty": true,
|
|
76
|
+
"_timeout": 2000
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"meta": {
|
|
80
|
+
"mocha": {
|
|
81
|
+
"version": "7.2.0"
|
|
82
|
+
},
|
|
83
|
+
"mochawesome": {
|
|
84
|
+
"options": {
|
|
85
|
+
"quiet": false,
|
|
86
|
+
"reportFilename": "[status]_[datetime]-[name]",
|
|
87
|
+
"saveHtml": false,
|
|
88
|
+
"saveJson": true,
|
|
89
|
+
"consoleReporter": "spec",
|
|
90
|
+
"useInlineDiffs": false,
|
|
91
|
+
"code": true
|
|
92
|
+
},
|
|
93
|
+
"version": "7.1.3"
|
|
94
|
+
},
|
|
95
|
+
"marge": {
|
|
96
|
+
"options": {
|
|
97
|
+
"reportDir": "./cypress/results",
|
|
98
|
+
"reportFilename": "[status]_[datetime]-[name]",
|
|
99
|
+
"overwrite": true,
|
|
100
|
+
"html": false,
|
|
101
|
+
"json": true
|
|
102
|
+
},
|
|
103
|
+
"version": "6.2.0"
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|