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.
Files changed (80) hide show
  1. package/.github/workflows/cyemial.yaml +98 -0
  2. package/Daily_Tracker.xlsx +0 -0
  3. package/Mannual_testcases.xlsx +0 -0
  4. package/clean_mochawesome.js +26 -0
  5. package/cleanupOutput.js +16 -0
  6. package/cleanupReports.js +15 -0
  7. package/cypress/e2e/Cart_Testcases/07_verify_Adding_single_item_to_cart.cy.js +40 -0
  8. package/cypress/e2e/Cart_Testcases/08_verify_removing_item_from_the_cart.cy.js +55 -0
  9. package/cypress/e2e/Cart_Testcases/09_verify_updating_of_cart_after_adding_multiple_item.cy.js +75 -0
  10. package/cypress/e2e/Checkout_Testcases/04_verify_complete_successful_purchase_of_single_item.cy.js +83 -0
  11. package/cypress/e2e/Checkout_Testcases/05_verify_checkout_with_missing_firstname_fails.cy.js +78 -0
  12. package/cypress/e2e/Checkout_Testcases/06_verify_user_can_cancel_checkout_and redirected_to_cart.cy.js +79 -0
  13. package/cypress/e2e/Login_Testcases/01_Verify_Valid_Login.cy.js +30 -0
  14. package/cypress/e2e/Login_Testcases/02_Verify_Invalid_Login_by_wrong_password.cy.js +29 -0
  15. package/cypress/e2e/Login_Testcases/03_Verify_Lockout_user_failed_login.cy.js +30 -0
  16. package/cypress/e2e/Regression_Suit/10_Verify_successful_purchase_multiple_items.cy.js +98 -0
  17. package/cypress/e2e/Regression_Suit/11_testfail.cy.js +98 -0
  18. package/cypress/e2e/Smoke_Suit/SMK001_Verify user can log in with valid credentials.cy.js +32 -0
  19. package/cypress/e2e/Smoke_Suit/SMK002_Verify product list loads after login.cy.js +34 -0
  20. package/cypress/e2e/Smoke_Suit/SMK003_Verify user can add a product to cart.cy.js +49 -0
  21. package/cypress/failed-specs.json +3 -0
  22. package/cypress/fixtures/Cart/01_Adding_product_to_cart.json +6 -0
  23. package/cypress/fixtures/Cart/02_Removing_product_from_cart.json +6 -0
  24. package/cypress/fixtures/Cart/03_Updating_of_cart_icon.json +7 -0
  25. package/cypress/fixtures/Checkout/01_purchase_of_single_product.json +10 -0
  26. package/cypress/fixtures/Checkout/02_missing_info_fail_purchase.json +8 -0
  27. package/cypress/fixtures/Checkout/03_cancel_purcahse_redirect_to_cart.json +9 -0
  28. package/cypress/fixtures/Login_Data/01_Valid_login.json +5 -0
  29. package/cypress/fixtures/Login_Data/02_Invalid_Login.json +6 -0
  30. package/cypress/fixtures/Login_Data/03_Lockout_user.json +6 -0
  31. package/cypress/fixtures/regression_data/01_regression_data.json +12 -0
  32. package/cypress/fixtures/smoke_test_data/SMK001_Verify user can log in with valid credentials.json +5 -0
  33. package/cypress/fixtures/smoke_test_data/SMK002_Verify product list loads after login.json +6 -0
  34. package/cypress/fixtures/smoke_test_data/SMK003_Verify user can add a product to cart.json +6 -0
  35. package/cypress/results/fail_2025-12-19T160847+0530-11_testfail.json +110 -0
  36. package/cypress/results/fail_2025-12-19T160936+0530-11_testfail.json +110 -0
  37. package/cypress/results/pass_2025-12-19T160750+0530-04_verify_complete_successful_purchase_of_single_item.json +106 -0
  38. package/cypress/results/pass_2025-12-19T160756+0530-05_verify_checkout_with_missing_firstname_fails.json +106 -0
  39. package/cypress/results/pass_2025-12-19T160802+0530-06_verify_user_can_cancel_checkout_and redirected_to_cart.json +106 -0
  40. package/cypress/results/pass_2025-12-19T160806+0530-07_verify_Adding_single_item_to_cart.json +106 -0
  41. package/cypress/results/pass_2025-12-19T160809+0530-08_verify_removing_item_from_the_cart.json +106 -0
  42. package/cypress/results/pass_2025-12-19T160814+0530-09_verify_updating_of_cart_after_adding_multiple_item.json +106 -0
  43. package/cypress/results/pass_2025-12-19T160822+0530-10_Verify_successful_purchase_multiple_items.json +106 -0
  44. package/cypress/results/pass_2025-12-19T160850+0530-SMK001_Verify user can log in with valid credentials.json +106 -0
  45. package/cypress/results/pass_2025-12-19T160854+0530-SMK002_Verify product list loads after login.json +106 -0
  46. package/cypress/results/pass_2025-12-19T160857+0530-SMK003_Verify user can add a product to cart.json +106 -0
  47. package/cypress/results/pass_2025-12-19T160900+0530-01_Verify_Valid_Login.json +106 -0
  48. package/cypress/results/pass_2025-12-19T160903+0530-02_Verify_Invalid_Login_by_wrong_password.json +106 -0
  49. package/cypress/results/pass_2025-12-19T160905+0530-03_Verify_Lockout_user_failed_login.json +106 -0
  50. package/cypress/screenshots/11_testfail.cy.js/11_failed -- 02_failed (failed) (attempt 2).png +0 -0
  51. package/cypress/screenshots/11_testfail.cy.js/11_failed -- 02_failed (failed).png +0 -0
  52. package/cypress/support/Locators/Common_Locators.js +57 -0
  53. package/cypress/support/commands.js +25 -0
  54. package/cypress/support/e2e.js +43 -0
  55. package/cypress/support/encryption.js +45 -0
  56. package/cypress/support/env.js +31 -0
  57. package/cypress/support/interface.js +6 -0
  58. package/cypress/support/pageObjects/CartPage.js +56 -0
  59. package/cypress/support/pageObjects/CheckoutPage.js +111 -0
  60. package/cypress/support/pageObjects/GenerateRandomData.js +62 -0
  61. package/cypress/support/pageObjects/Homepage.js +92 -0
  62. package/cypress/support/pageObjects/navigationPage.js +44 -0
  63. package/cypress.config.js +44 -0
  64. package/mochawesome-report/assets/MaterialIcons-Regular.woff +0 -0
  65. package/mochawesome-report/assets/MaterialIcons-Regular.woff2 +0 -0
  66. package/mochawesome-report/assets/app.css +14 -0
  67. package/mochawesome-report/assets/app.js +2 -0
  68. package/mochawesome-report/assets/app.js.LICENSE.txt +55 -0
  69. package/mochawesome-report/assets/roboto-light-webfont.woff +0 -0
  70. package/mochawesome-report/assets/roboto-light-webfont.woff2 +0 -0
  71. package/mochawesome-report/assets/roboto-medium-webfont.woff +0 -0
  72. package/mochawesome-report/assets/roboto-medium-webfont.woff2 +0 -0
  73. package/mochawesome-report/assets/roboto-regular-webfont.woff +0 -0
  74. package/mochawesome-report/assets/roboto-regular-webfont.woff2 +0 -0
  75. package/mochawesome-report/output.html +2 -0
  76. package/output.json +864 -0
  77. package/package.json +43 -0
  78. package/run-parallel-cypress.js +57 -0
  79. package/runAllSteps.js +47 -0
  80. 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:37:43.723Z",
9
+ "end": "2025-12-19T10:37:50.407Z",
10
+ "duration": 6684,
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": "3d2f2791-a537-4721-bf10-73e0552215c6",
22
+ "title": "",
23
+ "fullFile": "cypress\\e2e\\Checkout_Testcases\\04_verify_complete_successful_purchase_of_single_item.cy.js",
24
+ "file": "cypress\\e2e\\Checkout_Testcases\\04_verify_complete_successful_purchase_of_single_item.cy.js",
25
+ "beforeHooks": [],
26
+ "afterHooks": [],
27
+ "tests": [],
28
+ "suites": [
29
+ {
30
+ "uuid": "c6486baf-608d-4b01-99ce-da48193ef957",
31
+ "title": "04_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": "04_verify_complete_successful_purchase_of_single_item 01_verify_complete_successful_purchase_of_single_item",
40
+ "timedOut": null,
41
+ "duration": 5257,
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//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 count added to cart \n_Homepage.homepage.verifyCartIconQuantity(1);\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(1);\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);\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": "938eeaa9-f47e-4290-997e-c8eb50722b36",
51
+ "parentUUID": "c6486baf-608d-4b01-99ce-da48193ef957",
52
+ "isHook": false,
53
+ "skipped": false
54
+ }
55
+ ],
56
+ "suites": [],
57
+ "passes": [
58
+ "938eeaa9-f47e-4290-997e-c8eb50722b36"
59
+ ],
60
+ "failures": [],
61
+ "pending": [],
62
+ "skipped": [],
63
+ "duration": 5257,
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:37:51.769Z",
9
+ "end": "2025-12-19T10:37:56.067Z",
10
+ "duration": 4298,
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": "662c941f-dd92-413e-9b5c-0d235503dbb5",
22
+ "title": "",
23
+ "fullFile": "cypress\\e2e\\Checkout_Testcases\\05_verify_checkout_with_missing_firstname_fails.cy.js",
24
+ "file": "cypress\\e2e\\Checkout_Testcases\\05_verify_checkout_with_missing_firstname_fails.cy.js",
25
+ "beforeHooks": [],
26
+ "afterHooks": [],
27
+ "tests": [],
28
+ "suites": [
29
+ {
30
+ "uuid": "05fdc87d-d1f7-47d2-8c7f-237990ed23aa",
31
+ "title": "05_verify_checkout_with_missing_firstname_fails.cy.js",
32
+ "fullFile": "",
33
+ "file": "",
34
+ "beforeHooks": [],
35
+ "afterHooks": [],
36
+ "tests": [
37
+ {
38
+ "title": "02_verify_checkout_with_missing_firstname_fails.cy.js",
39
+ "fullTitle": "05_verify_checkout_with_missing_firstname_fails.cy.js 02_verify_checkout_with_missing_firstname_fails.cy.js",
40
+ "timedOut": null,
41
+ "duration": 3222,
42
+ "state": "passed",
43
+ "speed": "fast",
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//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 count added to cart \n_Homepage.homepage.verifyCartIconQuantity(1);\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(1);\n//click on Continue button\n_CheckoutPage.checkout_page.clickOnContinueButton();\n//verify error is displayed \n_CheckoutPage.checkout_page.VerifyError_Pop_up();\n//verify Item Still added to cart \n_Homepage.homepage.verifyCartIconQuantity(1);\n//verify still on checkout page \n_CheckoutPage.checkout_page.verifytheCheckoutpageOpened();",
49
+ "err": {},
50
+ "uuid": "b5c9775c-5098-4c74-9d45-96a2ad7361b3",
51
+ "parentUUID": "05fdc87d-d1f7-47d2-8c7f-237990ed23aa",
52
+ "isHook": false,
53
+ "skipped": false
54
+ }
55
+ ],
56
+ "suites": [],
57
+ "passes": [
58
+ "b5c9775c-5098-4c74-9d45-96a2ad7361b3"
59
+ ],
60
+ "failures": [],
61
+ "pending": [],
62
+ "skipped": [],
63
+ "duration": 3222,
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:37:57.348Z",
9
+ "end": "2025-12-19T10:38:02.838Z",
10
+ "duration": 5490,
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": "d7ca4cad-aaa5-4e91-9c46-13a0a79ec3dd",
22
+ "title": "",
23
+ "fullFile": "cypress\\e2e\\Checkout_Testcases\\06_verify_user_can_cancel_checkout_and redirected_to_cart.cy.js",
24
+ "file": "cypress\\e2e\\Checkout_Testcases\\06_verify_user_can_cancel_checkout_and redirected_to_cart.cy.js",
25
+ "beforeHooks": [],
26
+ "afterHooks": [],
27
+ "tests": [],
28
+ "suites": [
29
+ {
30
+ "uuid": "51141933-379a-4a03-9360-cd8417387b1c",
31
+ "title": "06_verify_user_can_cancel_checkout_and redirected_to_cart.cy.js",
32
+ "fullFile": "",
33
+ "file": "",
34
+ "beforeHooks": [],
35
+ "afterHooks": [],
36
+ "tests": [
37
+ {
38
+ "title": "03_verify_user_can_cancel_checkout_and redirected_to_cart.cy.js",
39
+ "fullTitle": "06_verify_user_can_cancel_checkout_and redirected_to_cart.cy.js 03_verify_user_can_cancel_checkout_and redirected_to_cart.cy.js",
40
+ "timedOut": null,
41
+ "duration": 4440,
42
+ "state": "passed",
43
+ "speed": "fast",
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//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 count added to cart \n_Homepage.homepage.verifyCartIconQuantity(1);\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(1);\n//click on cancel button\n_CheckoutPage.checkout_page.clickOnCancelButton();\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 count added to cart \n_Homepage.homepage.verifyCartIconQuantity(1);",
49
+ "err": {},
50
+ "uuid": "e4b70423-ab93-487a-b6ad-08b3f3681dd0",
51
+ "parentUUID": "51141933-379a-4a03-9360-cd8417387b1c",
52
+ "isHook": false,
53
+ "skipped": false
54
+ }
55
+ ],
56
+ "suites": [],
57
+ "passes": [
58
+ "e4b70423-ab93-487a-b6ad-08b3f3681dd0"
59
+ ],
60
+ "failures": [],
61
+ "pending": [],
62
+ "skipped": [],
63
+ "duration": 4440,
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:03.672Z",
9
+ "end": "2025-12-19T10:38:06.285Z",
10
+ "duration": 2613,
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": "db5e21ea-fd6b-4bc5-98e8-8901cc729978",
22
+ "title": "",
23
+ "fullFile": "cypress\\e2e\\Cart_Testcases\\07_verify_Adding_single_item_to_cart.cy.js",
24
+ "file": "cypress\\e2e\\Cart_Testcases\\07_verify_Adding_single_item_to_cart.cy.js",
25
+ "beforeHooks": [],
26
+ "afterHooks": [],
27
+ "tests": [],
28
+ "suites": [
29
+ {
30
+ "uuid": "743366b4-014d-4a63-b9f8-55279679de4c",
31
+ "title": "07_verify_Adding_single_item_to_cart",
32
+ "fullFile": "",
33
+ "file": "",
34
+ "beforeHooks": [],
35
+ "afterHooks": [],
36
+ "tests": [
37
+ {
38
+ "title": "01_verify_Adding_single_item_to_cart",
39
+ "fullTitle": "07_verify_Adding_single_item_to_cart 01_verify_Adding_single_item_to_cart",
40
+ "timedOut": null,
41
+ "duration": 1727,
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);",
49
+ "err": {},
50
+ "uuid": "1c93b5fb-530b-4f31-8374-045c6a1b9d22",
51
+ "parentUUID": "743366b4-014d-4a63-b9f8-55279679de4c",
52
+ "isHook": false,
53
+ "skipped": false
54
+ }
55
+ ],
56
+ "suites": [],
57
+ "passes": [
58
+ "1c93b5fb-530b-4f31-8374-045c6a1b9d22"
59
+ ],
60
+ "failures": [],
61
+ "pending": [],
62
+ "skipped": [],
63
+ "duration": 1727,
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:07.121Z",
9
+ "end": "2025-12-19T10:38:09.732Z",
10
+ "duration": 2611,
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": "bfe48408-0c15-463a-a089-3532d1d3eb55",
22
+ "title": "",
23
+ "fullFile": "cypress\\e2e\\Cart_Testcases\\08_verify_removing_item_from_the_cart.cy.js",
24
+ "file": "cypress\\e2e\\Cart_Testcases\\08_verify_removing_item_from_the_cart.cy.js",
25
+ "beforeHooks": [],
26
+ "afterHooks": [],
27
+ "tests": [],
28
+ "suites": [
29
+ {
30
+ "uuid": "1984dc69-8fe6-44b4-9e85-f25a9a95d7ec",
31
+ "title": "08_verify_removing_item_from_the_cart",
32
+ "fullFile": "",
33
+ "file": "",
34
+ "beforeHooks": [],
35
+ "afterHooks": [],
36
+ "tests": [
37
+ {
38
+ "title": "02_verify_removing_item_from_the_cart",
39
+ "fullTitle": "08_verify_removing_item_from_the_cart 02_verify_removing_item_from_the_cart",
40
+ "timedOut": null,
41
+ "duration": 1754,
42
+ "state": "passed",
43
+ "speed": "fast",
44
+ "pass": true,
45
+ "fail": false,
46
+ "pending": false,
47
+ "context": null,
48
+ "code": "//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);\n//verify remove item button is visible for the same product\n_Homepage.homepage.verifyRemovefromCartButton(Bike_light);\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 count added to cart \n_Homepage.homepage.verifyCartIconQuantity(1);\n//remove the item form the container \n_CartPage.cartpage.RemoveItemfromCart(Bike_light);\n//verify the item count added to cart \n_Homepage.homepage.verifyCartIconQuantity(0);\n//verify no item present in the cart\n_CartPage.cartpage.VerifyAddedItemtoCart(Bike_light);",
49
+ "err": {},
50
+ "uuid": "e0e8fc4e-5c92-4577-88a4-7414849a0897",
51
+ "parentUUID": "1984dc69-8fe6-44b4-9e85-f25a9a95d7ec",
52
+ "isHook": false,
53
+ "skipped": false
54
+ }
55
+ ],
56
+ "suites": [],
57
+ "passes": [
58
+ "e0e8fc4e-5c92-4577-88a4-7414849a0897"
59
+ ],
60
+ "failures": [],
61
+ "pending": [],
62
+ "skipped": [],
63
+ "duration": 1754,
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:10.530Z",
9
+ "end": "2025-12-19T10:38:14.272Z",
10
+ "duration": 3742,
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": "bb55ca00-8628-4795-9b31-5133ea9918ca",
22
+ "title": "",
23
+ "fullFile": "cypress\\e2e\\Cart_Testcases\\09_verify_updating_of_cart_after_adding_multiple_item.cy.js",
24
+ "file": "cypress\\e2e\\Cart_Testcases\\09_verify_updating_of_cart_after_adding_multiple_item.cy.js",
25
+ "beforeHooks": [],
26
+ "afterHooks": [],
27
+ "tests": [],
28
+ "suites": [
29
+ {
30
+ "uuid": "688100ec-13af-4740-b572-f8df34ee49b3",
31
+ "title": "09_verify_updating_of_cart_after_adding_multiple_item",
32
+ "fullFile": "",
33
+ "file": "",
34
+ "beforeHooks": [],
35
+ "afterHooks": [],
36
+ "tests": [
37
+ {
38
+ "title": "03_verify_updating_of_cart_after_adding_multiple_item",
39
+ "fullTitle": "09_verify_updating_of_cart_after_adding_multiple_item 03_verify_updating_of_cart_after_adding_multiple_item",
40
+ "timedOut": null,
41
+ "duration": 2879,
42
+ "state": "passed",
43
+ "speed": "fast",
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(Bagpack);\n//verify the item count added to cart \n_Homepage.homepage.verifyCartIconQuantity(2);\n//verify the item is added to the cart \n_CartPage.cartpage.VerifyAddedItemtoCart(Bike_light);\n//verify remove item button is visible for the same product\n_Homepage.homepage.verifyRemovefromCartButton(Bike_light);\n//verify remove item button is visible for the same product\n_Homepage.homepage.verifyRemovefromCartButton(Bagpack);\n//remove the item form the container \n_CartPage.cartpage.RemoveItemfromCart(Bike_light);\n//verify the item count added to cart \n_Homepage.homepage.verifyCartIconQuantity(1);\n//verify bike light item not present in the cart\n_CartPage.cartpage.VerifyAddedItemtoCart(Bike_light);\n//remove the item form the container \n_CartPage.cartpage.RemoveItemfromCart(Bagpack);\n//remove the item form the container \n_CartPage.cartpage.RemoveItemfromCart(Bike_light);\n//verify the item count added to cart \n_Homepage.homepage.verifyCartIconQuantity(0);\n//verify no item present in the cart\n_CartPage.cartpage.VerifyAddedItemtoCart(Bike_light);",
49
+ "err": {},
50
+ "uuid": "2c56316e-0119-4b1d-ad51-c66dab22dd21",
51
+ "parentUUID": "688100ec-13af-4740-b572-f8df34ee49b3",
52
+ "isHook": false,
53
+ "skipped": false
54
+ }
55
+ ],
56
+ "suites": [],
57
+ "passes": [
58
+ "2c56316e-0119-4b1d-ad51-c66dab22dd21"
59
+ ],
60
+ "failures": [],
61
+ "pending": [],
62
+ "skipped": [],
63
+ "duration": 2879,
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
+ }