Skip to content

Commit

Permalink
API Call
Browse files Browse the repository at this point in the history
  • Loading branch information
ABS RAKIB committed Jul 5, 2024
1 parent 6285012 commit 70f6edd
Show file tree
Hide file tree
Showing 40 changed files with 416 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="15.680" tests="1" failures="0">
<testsuite name="Root Suite" timestamp="2024-07-05T06:35:47" 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-07-05T06:35:47" tests="1" time="15.276" failures="0">
<testcase name="Add to cart from Recommended items adds a recommended product to cart and verifies" time="10.030" 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="1.407" tests="1" failures="0">
<testsuite name="Root Suite" timestamp="2024-07-05T06:51:01" tests="0" file="cypress\e2e\api\verify_login_with_valid_info.cy.js" time="0.000" failures="0">
</testsuite>
<testsuite name="API Test: POST To Verify Login with valid details" timestamp="2024-07-05T06:51:01" tests="1" time="1.356" failures="0">
<testcase name="API Test: POST To Verify Login with valid details should return user exists message" time="1.331" classname="should return user exists 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="12.583" tests="3" failures="-1" skipped="2">
<testsuite name="Root Suite" timestamp="2024-07-05T06:49:41" tests="0" file="cypress\e2e\api\fileUpload.cy.js" time="0.000" failures="0">
</testsuite>
<testsuite name="Upload File Request" timestamp="2024-07-05T06:49:41" tests="3" time="12.536" failures="0">
<testcase name="Upload File Request TC1 - No Input Field || upload File by changing action" time="6.923" classname="TC1 - No Input Field || upload File by changing action">
</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="20.033" tests="1" failures="0">
<testsuite name="Root Suite" timestamp="2024-07-05T06:36:07" tests="0" file="cypress\e2e\contact_us.cy.js" time="0.000" failures="0">
</testsuite>
<testsuite name="Contact Us Form" timestamp="2024-07-05T06:36:08" tests="1" time="19.558" failures="0">
<testcase name="Contact Us Form Contact Us Form validation checking...." time="14.175" 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="16.205" tests="1" failures="0">
<testsuite name="Root Suite" timestamp="2024-07-05T06:42:24" 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-07-05T06:42:25" tests="1" time="15.706" failures="0">
<testcase name="Register User with existing email Register User with existing email" time="10.007" 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="55.115" tests="1" failures="0">
<testsuite name="Root Suite" timestamp="2024-07-05T06:36:32" 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-07-05T06:36:32" tests="1" time="54.960" failures="0">
<testcase name="Download Invoice after purchase order should allow downloading invoice after successful purchase" time="49.830" 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="41.832" tests="1" failures="0">
<testsuite name="Root Suite" timestamp="2024-07-05T06:45:13" 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-07-05T06:45:14" tests="1" time="41.329" failures="0">
<testcase name="Verify address details in checkout page Register before cart adds products and Verify address details in checkout page" time="35.400" 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="1.418" tests="1" failures="0">
<testsuite name="Root Suite" timestamp="2024-07-05T06:50:19" tests="0" file="cypress\e2e\api\get_user_account_detail_by_mail.cy.js" time="0.000" failures="0">
</testsuite>
<testsuite name="API Test: GET User Account Detail by Email" timestamp="2024-07-05T06:50:19" tests="1" time="1.350" failures="0">
<testcase name="API Test: GET User Account Detail by Email should return user account details" time="1.361" classname="should return user account details">
</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="18.873" tests="1" failures="0">
<testsuite name="Root Suite" timestamp="2024-07-05T06:46:23" tests="0" file="cypress\e2e\verify_products.cy.js" time="0.000" failures="0">
</testsuite>
<testsuite name="Test Case 8: Verify All Products and product detail page" timestamp="2024-07-05T06:46:23" tests="1" time="18.393" failures="0">
<testcase name="Test Case 8: Verify All Products and product detail page Verify All Products and product detail page" time="12.110" classname="Verify All Products and product detail 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="40.917" tests="1" failures="0">
<testsuite name="Root Suite" timestamp="2024-07-05T06:44:26" 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-07-05T06:44:27" tests="1" time="40.292" failures="0">
<testcase name="Search Products and Verify Cart After Login searches products, adds to cart, verifies after login" time="30.940" 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="1.367" tests="1" failures="0">
<testsuite name="Root Suite" timestamp="2024-07-05T06:50:48" tests="0" file="cypress\e2e\api\put_to_search_product.cy.js" time="0.000" failures="0">
</testsuite>
<testsuite name="API Test: POST To Search Product" timestamp="2024-07-05T06:50:48" tests="1" time="1.316" failures="0">
<testcase name="API Test: POST To Search Product should return a list of searched products" time="1.305" classname="should return a list of searched 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="12.649" tests="1" failures="0">
<testsuite name="Root Suite" timestamp="2024-07-05T06:47:26" tests="0" file="cypress\e2e\verify_subscription.cy.js" time="0.000" failures="0">
</testsuite>
<testsuite name="Verify Subscription in home page" timestamp="2024-07-05T06:47:26" tests="1" time="12.209" failures="0">
<testcase name="Verify Subscription in home page Verify Subscription in home page" time="6.381" classname="Verify Subscription in home 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="15.402" tests="1" failures="0">
<testsuite name="Root Suite" timestamp="2024-07-05T06:47:45" tests="0" file="cypress\e2e\verify_subscription_card_page.cy.js" time="0.000" failures="0">
</testsuite>
<testsuite name="Verify Subscription in card page" timestamp="2024-07-05T06:47:45" tests="1" time="14.966" failures="0">
<testcase name="Verify Subscription in card page Verify Subscription in card page" time="8.711" classname="Verify Subscription in card 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="16.508" tests="1" failures="0">
<testsuite name="Root Suite" timestamp="2024-07-05T06:48:52" tests="0" file="cypress\e2e\view_category_products.cy.js" time="0.000" failures="0">
</testsuite>
<testsuite name="View Category Products" timestamp="2024-07-05T06:48:52" tests="1" time="16.084" failures="0">
<testcase name="View Category Products Check category products are visible or not" time="9.713" classname="Check category products are visible or not">
</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="37.326" tests="1" failures="0">
<testsuite name="Root Suite" timestamp="2024-07-05T06:42:46" tests="0" file="cypress\e2e\register_user.cy.js" time="0.000" failures="0">
</testsuite>
<testsuite name="Register User" timestamp="2024-07-05T06:42:47" tests="1" time="36.857" failures="0">
<testcase name="Register User should register and delete a new user" time="30.233" 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="19.918" tests="1" failures="0">
<testsuite name="Root Suite" timestamp="2024-07-05T06:48:26" tests="0" file="cypress\e2e\view_&amp;_cart_brand_products.cy.js" time="0.000" failures="0">
</testsuite>
<testsuite name="View &amp; Cart Brand Products" timestamp="2024-07-05T06:48:27" tests="1" time="19.418" failures="0">
<testcase name="View &amp; Cart Brand Products Check brand products are visible or not" time="12.694" classname="Check brand products are visible or not">
</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="15.220" tests="1" failures="0">
<testsuite name="Root Suite" timestamp="2024-07-05T06:37:31" tests="0" file="cypress\e2e\invalid_login.cy.js" time="0.000" failures="0">
</testsuite>
<testsuite name="Login User" timestamp="2024-07-05T06:37:32" tests="1" time="14.783" failures="0">
<testcase name="Login User should fail to login with incorrect email and password" time="9.543" 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="1.361" tests="1" failures="0">
<testsuite name="Root Suite" timestamp="2024-07-05T06:50:54" tests="0" file="cypress\e2e\api\search_without_parameter.cy.js" time="0.000" failures="0">
</testsuite>
<testsuite name="API Test: POST To Search Product without search_product parameter" timestamp="2024-07-05T06:50:54" tests="1" time="1.304" failures="0">
<testcase name="API Test: POST To Search Product without search_product parameter should return a 400 Bad Request error with appropriate message" time="1.306" classname="should return a 400 Bad Request error with appropriate message">
</testcase>
</testsuite>
</testsuites>
17 changes: 17 additions & 0 deletions cypress/reports/junit/results-57291fbd72b13c53f9fb1f09b130e2df.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuites name="Mocha Tests" time="3.485" tests="5" failures="0">
<testsuite name="Root Suite" timestamp="2024-07-05T06:50:26" tests="0" file="cypress\e2e\api\placeholder_api_tesing.cy.js" time="0.000" failures="0">
</testsuite>
<testsuite name="JSONPlaceholder User Management API Tests" timestamp="2024-07-05T06:50:26" tests="5" time="3.440" failures="0">
<testcase name="JSONPlaceholder User Management API Tests should create a new user (Mocked Response)" time="0.485" classname="should create a new user (Mocked Response)">
</testcase>
<testcase name="JSONPlaceholder User Management API Tests should get the created user by ID" time="0.867" classname="should get the created user by ID">
</testcase>
<testcase name="JSONPlaceholder User Management API Tests should update the user by ID" time="0.397" classname="should update the user by ID">
</testcase>
<testcase name="JSONPlaceholder User Management API Tests should list all users and contain the updated user" time="0.144" classname="should list all users and contain the updated user">
</testcase>
<testcase name="JSONPlaceholder User Management API Tests should delete the user by ID" time="1.363" classname="should delete the user by ID">
</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="1.966" tests="1" failures="0">
<testsuite name="Root Suite" timestamp="2024-07-05T06:49:14" tests="0" file="cypress\e2e\api\ApiCallUsingFixture.cy.js" time="0.000" failures="0">
</testsuite>
<testsuite name="API Call UsingFixture" timestamp="2024-07-05T06:49:14" tests="1" time="1.543" failures="0">
<testcase name="API Call UsingFixture POST request using Fixture" time="1.876" classname="POST request using Fixture">
</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="16.605" tests="1" failures="0">
<testsuite name="Root Suite" timestamp="2024-07-05T06:46:01" tests="0" file="cypress\e2e\verify_product_quantity_in_cart.cy.js" time="0.000" failures="0">
</testsuite>
<testsuite name="Test Case 13: Verify Product quantity in Cart" timestamp="2024-07-05T06:46:01" tests="1" time="16.153" failures="0">
<testcase name="Test Case 13: Verify Product quantity in Cart increases quantity and verifies it in cart" time="9.903" classname="increases quantity and verifies it in cart">
</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="1.390" tests="1" failures="0">
<testsuite name="Root Suite" timestamp="2024-07-05T06:50:34" tests="0" file="cypress\e2e\api\post_to_all_products_list.cy.js" time="0.000" failures="0">
</testsuite>
<testsuite name="API Test: POST To All Products List" timestamp="2024-07-05T06:50:34" tests="1" time="1.341" failures="0">
<testcase name="API Test: POST To All Products List should return method not supported message" time="1.325" classname="should return method not supported 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="1.380" tests="1" failures="0">
<testsuite name="Root Suite" timestamp="2024-07-05T06:50:41" tests="0" file="cypress\e2e\api\put_to_all_brand_list.cy.js" time="0.000" failures="0">
</testsuite>
<testsuite name="API Test: PUT To All Brands List" timestamp="2024-07-05T06:50:41" tests="1" time="1.333" failures="0">
<testcase name="API Test: PUT To All Brands List should return method not supported message" time="1.320" classname="should return method not supported 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="50.072" tests="1" failures="0">
<testsuite name="Root Suite" timestamp="2024-07-05T06:40:26" 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-07-05T06:40:27" tests="1" time="49.631" failures="0">
<testcase name="Place Order: Register Before Checkout Register before cart adds products into the cart, and process shippment" time="43.839" 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="19.412" tests="1" failures="0">
<testsuite name="Root Suite" timestamp="2024-07-05T06:38:38" tests="0" file="cypress\e2e\logout_user.cy.js" time="0.000" failures="0">
</testsuite>
<testsuite name="Logout User" timestamp="2024-07-05T06:38:38" tests="1" time="18.930" failures="0">
<testcase name="Logout User should login and logout a user" time="13.665" classname="should login and logout 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="42.794" tests="1" failures="0">
<testsuite name="Root Suite" timestamp="2024-07-05T06:37:51" tests="0" file="cypress\e2e\login_user.cy.js" time="0.000" failures="0">
</testsuite>
<testsuite name="Login User" timestamp="2024-07-05T06:37:51" tests="1" time="42.287" failures="0">
<testcase name="Login User should login and delete a user" time="37.014" 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="14.254" tests="1" failures="0">
<testsuite name="Root Suite" timestamp="2024-07-05T06:46:47" tests="0" file="cypress\e2e\verify_scroll_up_and_down_functionality.cy.js" time="0.000" failures="0">
</testsuite>
<testsuite name="Verify Scroll Up and Down Functionality" timestamp="2024-07-05T06:46:48" tests="1" time="13.764" failures="0">
<testcase name="Verify Scroll Up and Down Functionality should scroll down, verify &quot;SUBSCRIPTION&quot;, scroll up, and verify homepage text" time="7.509" classname="should scroll down, verify &quot;SUBSCRIPTION&quot;, scroll up, and verify homepage text">
</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="31.040" tests="1" failures="0">
<testsuite name="Root Suite" timestamp="2024-07-05T06:34:40" 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-07-05T06:34:40" tests="1" time="30.996" failures="0">
<testcase name="Test Case 12: Add Products in Cart Add Products in Cart" time="24.799" classname="Add Products in Cart">
</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="12.585" tests="1" failures="0">
<testsuite name="Root Suite" timestamp="2024-07-05T06:47:08" tests="0" file="cypress\e2e\verify_scroll_up_and_down_without_arrow_button.cy.js" time="0.000" failures="0">
</testsuite>
<testsuite name="Verify Scroll Up and Down without Arrow Button" timestamp="2024-07-05T06:47:08" tests="1" time="12.165" failures="0">
<testcase name="Verify Scroll Up and Down without Arrow Button should scroll down, verify &quot;SUBSCRIPTION&quot;, scroll up using JavaScript, and verify homepage text" time="5.893" classname="should scroll down, verify &quot;SUBSCRIPTION&quot;, scroll up using JavaScript, and verify homepage text">
</testcase>
</testsuite>
</testsuites>
Loading

0 comments on commit 70f6edd

Please sign in to comment.