Skip to content

Commit

Permalink
Merge pull request #51 from AbuBakkar32/abu-bakkar
Browse files Browse the repository at this point in the history
API Call
  • Loading branch information
AbuBakkar32 authored Jun 29, 2024
2 parents 7ce86e6 + d4bf227 commit 70f80c0
Show file tree
Hide file tree
Showing 17 changed files with 185 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuites name="Mocha Tests" time="18.812" tests="1" failures="0">
<testsuite name="Root Suite" timestamp="2024-06-28T12:27:43" tests="0" file="cypress\e2e\invalid_login.cy.js" time="0.000" failures="0">
</testsuite>
<testsuite name="Login User" timestamp="2024-06-28T12:27:43" tests="1" time="18.336" failures="0">
<testcase name="Login User should fail to login with incorrect email and password" time="11.106" classname="should fail to login with incorrect email and password">
</testcase>
</testsuite>
</testsuites>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuites name="Mocha Tests" time="80.273" tests="1" failures="0">
<testsuite name="Root Suite" timestamp="2024-06-28T12:29:28" tests="0" file="cypress\e2e\place_order_login_before_checkout.cy.js" time="0.000" failures="0">
</testsuite>
<testsuite name="Place Order: Register Before Checkout" timestamp="2024-06-28T12:29:28" tests="1" time="79.816" failures="0">
<testcase name="Place Order: Register Before Checkout Register before cart adds products into the cart, and process shippment" time="73.339" classname="Register before cart adds products into the cart, and process shippment">
</testcase>
</testsuite>
</testsuites>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuites name="Mocha Tests" time="62.703" tests="1" failures="0">
<testsuite name="Root Suite" timestamp="2024-06-28T12:26:34" tests="0" file="cypress\e2e\download_Invoice_after_purchase_order.cy.js" time="0.000" failures="0">
</testsuite>
<testsuite name="Download Invoice after purchase order" timestamp="2024-06-28T12:26:35" tests="1" time="62.192" failures="0">
<testcase name="Download Invoice after purchase order should allow downloading invoice after successful purchase" time="55.829" classname="should allow downloading invoice after successful purchase">
</testcase>
</testsuite>
</testsuites>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuites name="Mocha Tests" time="62.837" tests="1" failures="0">
<testsuite name="Root Suite" timestamp="2024-06-28T12:32:12" tests="0" file="cypress\e2e\place_order_while_checkout.cy.js" time="0.000" failures="0">
</testsuite>
<testsuite name="Place Order: Register while Checkout" timestamp="2024-06-28T12:32:12" tests="1" time="62.397" failures="0">
<testcase name="Place Order: Register while Checkout adds products into the cart, register, and shipping" time="57.287" classname="adds products into the cart, register, and shipping">
</testcase>
</testsuite>
</testsuites>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuites name="Mocha Tests" time="14.818" tests="1" failures="0">
<testsuite name="Root Suite" timestamp="2024-06-28T12:33:19" tests="0" file="cypress\e2e\register_existing_email.cy.js" time="0.000" failures="0">
</testsuite>
<testsuite name="Register User with existing email" timestamp="2024-06-28T12:33:20" tests="1" time="14.401" failures="0">
<testcase name="Register User with existing email Register User with existing email" time="9.276" classname="Register User with existing email">
</testcase>
</testsuite>
</testsuites>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuites name="Mocha Tests" time="38.328" tests="1" failures="0">
<testsuite name="Root Suite" timestamp="2024-06-28T12:35:13" tests="0" file="cypress\e2e\search_product.cy.js" time="0.000" failures="0">
</testsuite>
<testsuite name="Search Product" timestamp="2024-06-28T12:35:13" tests="1" time="37.923" failures="0">
<testcase name="Search Product Search Product and click search button to find all related products" time="32.418" classname="Search Product and click search button to find all related products">
</testcase>
</testsuite>
</testsuites>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuites name="Mocha Tests" time="49.988" tests="1" failures="0">
<testsuite name="Root Suite" timestamp="2024-06-28T12:33:38" tests="0" file="cypress\e2e\register_user.cy.js" time="0.000" failures="0">
</testsuite>
<testsuite name="Register User" timestamp="2024-06-28T12:33:39" tests="1" time="49.544" failures="0">
<testcase name="Register User should register and delete a new user" time="44.387" classname="should register and delete a new user">
</testcase>
</testsuite>
</testsuites>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuites name="Mocha Tests" time="64.771" tests="1" failures="0">
<testsuite name="Root Suite" timestamp="2024-06-28T12:31:02" tests="0" file="cypress\e2e\place_order_registration_before_checkout.cy.js" time="0.000" failures="0">
</testsuite>
<testsuite name="Place Order: Register Before Checkout" timestamp="2024-06-28T12:31:03" tests="1" time="64.112" failures="0">
<testcase name="Place Order: Register Before Checkout Register before cart adds products into the cart, and process shippment" time="54.285" classname="Register before cart adds products into the cart, and process shippment">
</testcase>
</testsuite>
</testsuites>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuites name="Mocha Tests" time="25.398" tests="1" failures="0">
<testsuite name="Root Suite" timestamp="2024-06-28T12:26:04" tests="0" file="cypress\e2e\contact_us.cy.js" time="0.000" failures="0">
</testsuite>
<testsuite name="Contact Us Form" timestamp="2024-06-28T12:26:04" tests="1" time="24.838" failures="0">
<testcase name="Contact Us Form Contact Us Form validation checking...." time="18.267" classname="Contact Us Form validation checking....">
</testcase>
</testsuite>
</testsuites>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuites name="Mocha Tests" time="44.872" tests="1" failures="0">
<testsuite name="Root Suite" timestamp="2024-06-28T12:28:08" tests="0" file="cypress\e2e\login_user.cy.js" time="0.000" failures="0">
</testsuite>
<testsuite name="Login User" timestamp="2024-06-28T12:28:08" tests="1" time="44.396" failures="0">
<testcase name="Login User should login and delete a user" time="37.675" classname="should login and delete a user">
</testcase>
</testsuite>
</testsuites>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuites name="Mocha Tests" time="64.237" tests="1" failures="0">
<testsuite name="Root Suite" timestamp="2024-06-28T12:35:56" tests="0" file="cypress\e2e\search_products_and_verify_cart_after_login.cy.js" time="0.000" failures="0">
</testsuite>
<testsuite name="Search Products and Verify Cart After Login" timestamp="2024-06-28T12:35:56" tests="1" time="63.779" failures="0">
<testcase name="Search Products and Verify Cart After Login searches products, adds to cart, verifies after login" time="58.519" classname="searches products, adds to cart, verifies after login">
</testcase>
</testsuite>
</testsuites>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuites name="Mocha Tests" time="34.639" tests="1" failures="0">
<testsuite name="Root Suite" timestamp="2024-06-28T12:34:34" tests="0" file="cypress\e2e\remove_poducts_from_cart.cy.js" time="0.000" failures="0">
</testsuite>
<testsuite name="Remove Products From Cart" timestamp="2024-06-28T12:34:34" tests="1" time="34.222" failures="0">
<testcase name="Remove Products From Cart Check cart product successfully delete or not" time="28.955" classname="Check cart product successfully delete or not">
</testcase>
</testsuite>
</testsuites>
41 changes: 41 additions & 0 deletions cypress/reports/junit/results-b8a8efe241a5af1bcb5fcd425cb413b6.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuites name="Mocha Tests" time="76.083" tests="1" failures="1">
<testsuite name="Root Suite" timestamp="2024-06-28T12:22:22" tests="0" file="cypress\e2e\add_product_cart.cy.js" time="0.000" failures="0">
</testsuite>
<testsuite name="Test Case 12: Add Products in Cart" timestamp="2024-06-28T12:22:22" tests="1" time="76.029" failures="1">
<testcase name="Test Case 12: Add Products in Cart Add Products in Cart" time="0.000" classname="Add Products in Cart">
<failure message="Timed out after waiting `60000ms` for your remote page to load.
Your page did not fire its `load` event within `60000ms`.
You can try increasing the `pageLoadTimeout` value in `cypress.config.js` to wait longer.
Browsers will not fire the `load` event until all stylesheets and scripts are done downloading.
When this `load` event occurs, Cypress will continue running commands." type="CypressError"><![CDATA[CypressError: Timed out after waiting `60000ms` for your remote page to load.
Your page did not fire its `load` event within `60000ms`.
You can try increasing the `pageLoadTimeout` value in `cypress.config.js` to wait longer.
Browsers will not fire the `load` event until all stylesheets and scripts are done downloading.
When this `load` event occurs, Cypress will continue running commands.
at timedOutWaitingForPageLoad (https://automationexercise.com/__cypress/runner/cypress_runner.js:130511:64)
at <unknown> (https://automationexercise.com/__cypress/runner/cypress_runner.js:131497:16)
at tryCatcher (https://automationexercise.com/__cypress/runner/cypress_runner.js:1807:23)
at <unknown> (https://automationexercise.com/__cypress/runner/cypress_runner.js:4186:41)
at tryCatcher (https://automationexercise.com/__cypress/runner/cypress_runner.js:1807:23)
at Promise._settlePromiseFromHandler (https://automationexercise.com/__cypress/runner/cypress_runner.js:1519:31)
at Promise._settlePromise (https://automationexercise.com/__cypress/runner/cypress_runner.js:1576:18)
at Promise._settlePromise0 (https://automationexercise.com/__cypress/runner/cypress_runner.js:1621:10)
at Promise._settlePromises (https://automationexercise.com/__cypress/runner/cypress_runner.js:1697:18)
at _drainQueueStep (https://automationexercise.com/__cypress/runner/cypress_runner.js:2407:12)
at _drainQueue (https://automationexercise.com/__cypress/runner/cypress_runner.js:2400:9)
at Async._drainQueues (https://automationexercise.com/__cypress/runner/cypress_runner.js:2416:5)
at Async.drainQueues (https://automationexercise.com/__cypress/runner/cypress_runner.js:2286:14)
From Your Spec Code:
at Context.eval (webpack:///./cypress/e2e/add_product_cart.cy.js:7:11)]]></failure>
</testcase>
</testsuite>
</testsuites>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuites name="Mocha Tests" time="69.495" tests="1" failures="0">
<testsuite name="Root Suite" timestamp="2024-06-28T12:37:06" tests="0" file="cypress\e2e\verify_address_details_in_checkout_page.cy.js" time="0.000" failures="0">
</testsuite>
<testsuite name="Verify address details in checkout page" timestamp="2024-06-28T12:37:06" tests="1" time="68.991" failures="0">
<testcase name="Verify address details in checkout page Register before cart adds products and Verify address details in checkout page" time="63.473" classname="Register before cart adds products and Verify address details in checkout page">
</testcase>
</testsuite>
</testsuites>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuites name="Mocha Tests" time="26.375" tests="1" failures="0">
<testsuite name="Root Suite" timestamp="2024-06-28T12:25:31" tests="0" file="cypress\e2e\add_to_cart_from_recommended_items.cy.js" time="0.000" failures="0">
</testsuite>
<testsuite name="Add to cart from Recommended items" timestamp="2024-06-28T12:25:32" tests="1" time="25.523" failures="0">
<testcase name="Add to cart from Recommended items adds a recommended product to cart and verifies" time="18.132" classname="adds a recommended product to cart and verifies">
</testcase>
</testsuite>
</testsuites>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuites name="Mocha Tests" time="100.228" tests="1" failures="0">
<testsuite name="Root Suite" timestamp="2024-06-28T12:23:45" tests="0" file="cypress\e2e\add_review_on_product.cy.js" time="0.000" failures="0">
</testsuite>
<testsuite name="Add review on product" timestamp="2024-06-28T12:23:46" tests="1" time="99.773" failures="0">
<testcase name="Add review on product adds a review and verifies success message" time="92.624" classname="adds a review and verifies success message">
</testcase>
</testsuite>
</testsuites>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuites name="Mocha Tests" time="22.628" tests="1" failures="0">
<testsuite name="Root Suite" timestamp="2024-06-28T12:29:00" tests="0" file="cypress\e2e\logout_user.cy.js" time="0.000" failures="0">
</testsuite>
<testsuite name="Logout User" timestamp="2024-06-28T12:29:00" tests="1" time="22.144" failures="0">
<testcase name="Logout User should login and logout a user" time="15.360" classname="should login and logout a user">
</testcase>
</testsuite>
</testsuites>

0 comments on commit 70f80c0

Please sign in to comment.