From 929c69b7add19099658fe36b25111c98dcce18d4 Mon Sep 17 00:00:00 2001 From: Lucas Bustamante Date: Thu, 22 Feb 2024 20:07:17 -0300 Subject: [PATCH] Update E2E snapshots --- ...rc_2a952a960085a76868033dc54aa96159__1.php | 322 +++++++++++++---- ...rc_960168535790f3a7eff463fb11517d63__1.php | 339 ++++++++++++++---- ...rc_865de3b217a16a96d42609a9ca8ebcf0__1.php | 332 +++++++++++++---- 3 files changed, 788 insertions(+), 205 deletions(-) diff --git a/_tests/tests/__snapshots__/Wooe2eTest__test_woo_e2e_delete_products_woostable_php74_wprc_2a952a960085a76868033dc54aa96159__1.php b/_tests/tests/__snapshots__/Wooe2eTest__test_woo_e2e_delete_products_woostable_php74_wprc_2a952a960085a76868033dc54aa96159__1.php index 69793c73..99022758 100644 --- a/_tests/tests/__snapshots__/Wooe2eTest__test_woo_e2e_delete_products_woostable_php74_wprc_2a952a960085a76868033dc54aa96159__1.php +++ b/_tests/tests/__snapshots__/Wooe2eTest__test_woo_e2e_delete_products_woostable_php74_wprc_2a952a960085a76868033dc54aa96159__1.php @@ -31,7 +31,7 @@ }, "test_results_manager_url": "https:\\/\\/test-results-manager.com", "test_results_manager_expiration": 1234567890, - "test_summary": "Test Suites: 0 skipped, 4 failed, 63 passed, 67 total | Tests: 204 skipped, 7 failed, 36 passed, 247 total.", + "test_summary": "Test Suites: 0 skipped, 4 failed, 69 passed, 73 total | Tests: 235 skipped, 7 failed, 40 passed, 282 total.", "version": "Undefined", "update_complete": true, "ai_suggestion_status": "none", @@ -42,13 +42,13 @@ { "test_result_json": { "numFailedTestSuites": 4, - "numPassedTestSuites": 63, + "numPassedTestSuites": 69, "numPendingTestSuites": 0, - "numTotalTestSuites": 67, + "numTotalTestSuites": 73, "numFailedTests": 7, - "numPassedTests": 36, - "numPendingTests": 204, - "numTotalTests": 247, + "numPassedTests": 40, + "numPendingTests": 235, + "numTotalTests": 282, "testResults": [ { "file": "activate-and-setup\\/basic-setup.spec.js", @@ -67,6 +67,29 @@ ] } }, + { + "file": "activate-and-setup\\/core-profiler.spec.js", + "status": "passed", + "has_pending": true, + "tests": { + "Store owner can complete the core profiler": [ + { + "title": "Can complete the core profiler skipping extension install", + "status": "passed" + }, + { + "title": "Can complete the core profiler installing default extensions", + "status": "pending" + } + ], + "Store owner can skip the core profiler": [ + { + "title": "Can click skip guided setup", + "status": "passed" + } + ] + } + }, { "file": "activate-and-setup\\/setup-onboarding.spec.js", "status": "passed", @@ -260,7 +283,11 @@ "tests": { "Store owner can view Assembler Hub for store customization": [ { - "title": "Can view the Assembler Hub page", + "title": "Can not access the Assembler Hub page when the theme is not customized", + "status": "pending" + }, + { + "title": "Can view the Assembler Hub page when the theme is already customized", "status": "pending" }, { @@ -342,16 +369,16 @@ { "file": "merchant\\/create-shipping-zones.spec.js", "status": "failed", - "has_pending": true, + "has_pending": false, "tests": { "WooCommerce Shipping Settings - Add new shipping zone": [ { "title": "add shipping zone for Mayne Island with free Local pickup", - "status": "pending" + "status": "passed" }, { "title": "add shipping zone for British Columbia with Free shipping", - "status": "pending" + "status": "passed" }, { "title": "add shipping zone for Canada with Flat rate", @@ -748,6 +775,27 @@ ] } }, + { + "file": "merchant\\/product-delete.spec.js", + "status": "passed", + "has_pending": true, + "tests": { + "Products > Delete Product": [ + { + "title": "can delete a product from edit view", + "status": "pending" + }, + { + "title": "can quick delete a product from product list", + "status": "pending" + }, + { + "title": "can permanently delete a product from trash list", + "status": "pending" + } + ] + } + }, { "file": "merchant\\/product-edit.spec.js", "status": "passed", @@ -761,6 +809,35 @@ ] } }, + { + "file": "merchant\\/product-images.spec.js", + "status": "passed", + "has_pending": true, + "tests": { + "Products > Product Images": [ + { + "title": "can set product image", + "status": "pending" + }, + { + "title": "can update the product image", + "status": "pending" + }, + { + "title": "can delete the product image", + "status": "pending" + }, + { + "title": "can create a product gallery", + "status": "pending" + }, + { + "title": "can update a product gallery", + "status": "pending" + } + ] + } + }, { "file": "merchant\\/product-import-csv.spec.js", "status": "passed", @@ -1033,151 +1110,208 @@ } }, { - "file": "shopper\\/cart-block-calculate-tax.spec.js", + "file": "shopper\\/cart-block-coupons.spec.js", "status": "passed", "has_pending": true, "tests": { - "Shopper Cart Block Tax Display": [ + "Cart Block Applying Coupons": [ { "title": "can create Cart Block page", "status": "pending" }, { - "title": "that inclusive tax is displayed properly in Cart Block page", + "title": "allows cart block to apply coupon of any type", "status": "pending" }, { - "title": "that exclusive tax is displayed properly in Cart Block page", + "title": "allows cart block to apply multiple coupons", "status": "pending" - } - ], - "Shopper Cart Block Tax Rounding": [ + }, { - "title": "that tax rounding is present at subtotal level", + "title": "prevents cart block applying same coupon twice", "status": "pending" }, { - "title": "that tax rounding is off at subtotal level", + "title": "prevents cart block applying coupon with usage limit", "status": "pending" } - ], - "Shopper Cart Block Tax Levels": [ + ] + } + }, + { + "file": "shopper\\/cart-block.spec.js", + "status": "passed", + "has_pending": true, + "tests": { + "Cart Block page": [ { - "title": "that applying taxes in cart block of 4 different levels calculates properly", + "title": "can see empty cart block", "status": "pending" }, { - "title": "that applying taxes in Cart Block of 2 different levels (2 excluded) calculates properly", - "status": "pending" - } - ], - "Shipping Cart Block Tax": [ - { - "title": "that tax is applied in Cart Block to shipping as well as order", + "title": "can add product to cart block, increase quantity, manage cross-sell products and proceed to checkout", "status": "pending" } ] } }, { - "file": "shopper\\/cart-block-coupons.spec.js", + "file": "shopper\\/cart-calculate-shipping.spec.js", "status": "passed", "has_pending": true, "tests": { - "Cart Block Applying Coupons": [ + "Cart Calculate Shipping": [ { - "title": "can create Cart Block page", + "title": "allows customer to calculate Free Shipping if in Germany", "status": "pending" }, { - "title": "allows cart block to apply coupon of any type", + "title": "allows customer to calculate Flat rate and Local pickup if in France", "status": "pending" }, { - "title": "allows cart block to apply multiple coupons", + "title": "should show correct total cart price after updating quantity", "status": "pending" }, { - "title": "prevents cart block applying same coupon twice", + "title": "should show correct total cart price with 2 products and flat rate", + "status": "pending" + }, + { + "title": "should show correct total cart price with 2 products without flat rate", "status": "pending" } ] } }, { - "file": "shopper\\/cart-block.spec.js", + "file": "shopper\\/cart-checkout-block-calculate-tax.spec.js", "status": "passed", "has_pending": true, "tests": { - "Cart Block page": [ + "Shopper Cart & Checkout Block Tax Display": [ { - "title": "can see empty cart block", + "title": "can create Cart Block page", "status": "pending" }, { - "title": "can add product to cart block, increase quantity, manage cross-sell products and proceed to checkout", + "title": "can create Checkout Block page", + "status": "pending" + }, + { + "title": "that inclusive tax is displayed properly in blockbased Cart & Checkout pages", + "status": "pending" + }, + { + "title": "that exclusive tax is displayed properly in blockbased Cart & Checkout pages", + "status": "pending" + } + ], + "Shopper Cart & Checkout Block Tax Rounding": [ + { + "title": "that tax rounding is present at subtotal level in blockbased Cart & Checkout pages", + "status": "pending" + }, + { + "title": "that tax rounding is off at subtotal level in blockbased Cart & Checkout pages", + "status": "pending" + } + ], + "Shopper Cart & Checkout Block Tax Levels": [ + { + "title": "that applying taxes in cart block of 4 different levels calculates properly", + "status": "pending" + }, + { + "title": "that applying taxes in blockbased Cart & Checkout of 2 different levels (2 excluded) calculates properly", + "status": "pending" + } + ], + "Shipping Cart & Checkout Block Tax": [ + { + "title": "that tax is applied in Cart Block to shipping as well as order", "status": "pending" } ] } }, { - "file": "shopper\\/cart-calculate-shipping.spec.js", + "file": "shopper\\/cart-checkout-coupons.spec.js", "status": "passed", "has_pending": true, "tests": { - "Cart Calculate Shipping": [ + "Cart & Checkout applying coupons": [ { - "title": "allows customer to calculate Free Shipping if in Germany", + "title": "allows applying coupon of type fixed_cart", "status": "pending" }, { - "title": "allows customer to calculate Flat rate and Local pickup if in France", + "title": "allows applying coupon of type percent", "status": "pending" }, { - "title": "should show correct total cart price after updating quantity", + "title": "allows applying coupon of type fixed_product", "status": "pending" }, { - "title": "should show correct total cart price with 2 products and flat rate", + "title": "prevents applying same coupon twice", "status": "pending" }, { - "title": "should show correct total cart price with 2 products without flat rate", + "title": "allows applying multiple coupons", + "status": "pending" + }, + { + "title": "restores total when coupons are removed", "status": "pending" } ] } }, { - "file": "shopper\\/cart-coupons.spec.js", + "file": "shopper\\/cart-checkout-restricted-coupons.spec.js", "status": "passed", "has_pending": true, "tests": { - "Cart applying coupons": [ + "Cart & Checkout Restricted Coupons": [ + { + "title": "expired coupon cannot be used", + "status": "pending" + }, + { + "title": "coupon requiring min and max amounts and can only be used alone can only be used within limits", + "status": "pending" + }, + { + "title": "coupon cannot be used on sale item", + "status": "pending" + }, + { + "title": "coupon can only be used twice", + "status": "pending" + }, { - "title": "allows cart to apply coupon of type fixed_cart", + "title": "coupon cannot be used on certain products\\/categories (included product\\/category)", "status": "pending" }, { - "title": "allows cart to apply coupon of type percent", + "title": "coupon can be used on certain products\\/categories", "status": "pending" }, { - "title": "allows cart to apply coupon of type fixed_product", + "title": "coupon cannot be used on specific products\\/categories (excluded product\\/category)", "status": "pending" }, { - "title": "prevents cart applying same coupon twice", + "title": "coupon can be used on other products\\/categories", "status": "pending" }, { - "title": "allows cart to apply multiple coupons", + "title": "coupon cannot be used by any customer (email restricted)", "status": "pending" }, { - "title": "restores cart total when coupons are removed", + "title": "coupon can be used by the right customer (email restricted) but only once", "status": "pending" } ] @@ -1233,38 +1367,87 @@ { "title": "should go to the checkout page when \\"Proceed to Checkout\\" is clicked", "status": "pending" + }, + { + "title": "can manage cross-sell products and maximum item quantity", + "status": "pending" + } + ] + } + }, + { + "file": "shopper\\/checkout-block-coupons.spec.js", + "status": "passed", + "has_pending": true, + "tests": { + "Checkout Block Applying Coupons": [ + { + "title": "can create checkout block page", + "status": "pending" + }, + { + "title": "allows checkout block to apply coupon of any type", + "status": "pending" + }, + { + "title": "allows checkout block to apply multiple coupons", + "status": "pending" + }, + { + "title": "prevents checkout block applying same coupon twice", + "status": "pending" + }, + { + "title": "prevents checkout block applying coupon with usage limit", + "status": "pending" } ] } }, { - "file": "shopper\\/checkout-coupons.spec.js", + "file": "shopper\\/checkout-block.spec.js", "status": "passed", "has_pending": true, "tests": { - "Checkout coupons": [ + "Checkout Block page": [ + { + "title": "can see empty checkout block page", + "status": "pending" + }, + { + "title": "allows customer to choose available payment methods", + "status": "pending" + }, + { + "title": "allows customer to fill shipping details", + "status": "pending" + }, + { + "title": "allows customer to fill different shipping and billing details", + "status": "pending" + }, { - "title": "allows checkout to apply coupon of type fixed_cart", + "title": "warn when customer is missing required details", "status": "pending" }, { - "title": "allows checkout to apply coupon of type percent", + "title": "allows customer to fill shipping details and toggle different billing", "status": "pending" }, { - "title": "allows checkout to apply coupon of type fixed_product", + "title": "can choose different shipping types in the checkout", "status": "pending" }, { - "title": "prevents checkout applying same coupon twice", + "title": "allows guest customer to place an order", "status": "pending" }, { - "title": "allows checkout to apply multiple coupons", + "title": "allows existing customer to place an order", "status": "pending" }, { - "title": "restores checkout total when coupons are removed", + "title": "can create an account during checkout", "status": "pending" } ] @@ -1648,6 +1831,19 @@ ] } }, + { + "file": "shopper\\/wordpress-post.spec.js", + "status": "passed", + "has_pending": true, + "tests": { + "WordPress": [ + { + "title": "logged-in customer can comment on a post", + "status": "pending" + } + ] + } + }, { "file": "smoke-tests\\/update-woocommerce.spec.js", "status": "passed", @@ -1679,7 +1875,7 @@ } } ], - "summary": "Test Suites: 0 skipped, 4 failed, 63 passed, 67 total | Tests: 204 skipped, 7 failed, 36 passed, 247 total." + "summary": "Test Suites: 0 skipped, 4 failed, 69 passed, 73 total | Tests: 235 skipped, 7 failed, 40 passed, 282 total." } }, { diff --git a/_tests/tests/__snapshots__/Wooe2eTest__test_woo_e2e_no_op_php82_woostable_php82_wprc_960168535790f3a7eff463fb11517d63__1.php b/_tests/tests/__snapshots__/Wooe2eTest__test_woo_e2e_no_op_php82_woostable_php82_wprc_960168535790f3a7eff463fb11517d63__1.php index d62f69ed..32d30eae 100644 --- a/_tests/tests/__snapshots__/Wooe2eTest__test_woo_e2e_no_op_php82_woostable_php82_wprc_960168535790f3a7eff463fb11517d63__1.php +++ b/_tests/tests/__snapshots__/Wooe2eTest__test_woo_e2e_no_op_php82_woostable_php82_wprc_960168535790f3a7eff463fb11517d63__1.php @@ -31,7 +31,7 @@ }, "test_results_manager_url": "https:\\/\\/test-results-manager.com", "test_results_manager_expiration": 1234567890, - "test_summary": "Test Suites: 0 skipped, 0 failed, 67 passed, 67 total | Tests: 9 skipped, 0 failed, 238 passed, 247 total.", + "test_summary": "Test Suites: 0 skipped, 0 failed, 73 passed, 73 total | Tests: 15 skipped, 0 failed, 267 passed, 282 total.", "version": "Undefined", "update_complete": true, "ai_suggestion_status": "none", @@ -42,13 +42,13 @@ { "test_result_json": { "numFailedTestSuites": 0, - "numPassedTestSuites": 67, + "numPassedTestSuites": 73, "numPendingTestSuites": 0, - "numTotalTestSuites": 67, + "numTotalTestSuites": 73, "numFailedTests": 0, - "numPassedTests": 238, - "numPendingTests": 9, - "numTotalTests": 247, + "numPassedTests": 267, + "numPendingTests": 15, + "numTotalTests": 282, "testResults": [ { "file": "activate-and-setup\\/basic-setup.spec.js", @@ -67,6 +67,29 @@ ] } }, + { + "file": "activate-and-setup\\/core-profiler.spec.js", + "status": "passed", + "has_pending": true, + "tests": { + "Store owner can complete the core profiler": [ + { + "title": "Can complete the core profiler skipping extension install", + "status": "passed" + }, + { + "title": "Can complete the core profiler installing default extensions", + "status": "pending" + } + ], + "Store owner can skip the core profiler": [ + { + "title": "Can click skip guided setup", + "status": "passed" + } + ] + } + }, { "file": "activate-and-setup\\/setup-onboarding.spec.js", "status": "passed", @@ -260,7 +283,11 @@ "tests": { "Store owner can view Assembler Hub for store customization": [ { - "title": "Can view the Assembler Hub page", + "title": "Can not access the Assembler Hub page when the theme is not customized", + "status": "pending" + }, + { + "title": "Can view the Assembler Hub page when the theme is already customized", "status": "pending" }, { @@ -342,16 +369,16 @@ { "file": "merchant\\/create-shipping-zones.spec.js", "status": "passed", - "has_pending": true, + "has_pending": false, "tests": { "WooCommerce Shipping Settings - Add new shipping zone": [ { "title": "add shipping zone for Mayne Island with free Local pickup", - "status": "pending" + "status": "passed" }, { "title": "add shipping zone for British Columbia with Free shipping", - "status": "pending" + "status": "passed" }, { "title": "add shipping zone for Canada with Flat rate", @@ -748,6 +775,27 @@ ] } }, + { + "file": "merchant\\/product-delete.spec.js", + "status": "passed", + "has_pending": true, + "tests": { + "Products > Delete Product": [ + { + "title": "can delete a product from edit view", + "status": "passed" + }, + { + "title": "can quick delete a product from product list", + "status": "pending" + }, + { + "title": "can permanently delete a product from trash list", + "status": "passed" + } + ] + } + }, { "file": "merchant\\/product-edit.spec.js", "status": "passed", @@ -761,6 +809,35 @@ ] } }, + { + "file": "merchant\\/product-images.spec.js", + "status": "passed", + "has_pending": false, + "tests": { + "Products > Product Images": [ + { + "title": "can set product image", + "status": "passed" + }, + { + "title": "can update the product image", + "status": "passed" + }, + { + "title": "can delete the product image", + "status": "passed" + }, + { + "title": "can create a product gallery", + "status": "passed" + }, + { + "title": "can update a product gallery", + "status": "passed" + } + ] + } + }, { "file": "merchant\\/product-import-csv.spec.js", "status": "passed", @@ -1033,152 +1110,209 @@ } }, { - "file": "shopper\\/cart-block-calculate-tax.spec.js", + "file": "shopper\\/cart-block-coupons.spec.js", "status": "passed", "has_pending": false, "tests": { - "Shopper Cart Block Tax Display": [ + "Cart Block Applying Coupons": [ { "title": "can create Cart Block page", "status": "passed" }, { - "title": "that inclusive tax is displayed properly in Cart Block page", + "title": "allows cart block to apply coupon of any type", "status": "passed" }, { - "title": "that exclusive tax is displayed properly in Cart Block page", + "title": "allows cart block to apply multiple coupons", "status": "passed" - } - ], - "Shopper Cart Block Tax Rounding": [ + }, { - "title": "that tax rounding is present at subtotal level", + "title": "prevents cart block applying same coupon twice", "status": "passed" }, { - "title": "that tax rounding is off at subtotal level", + "title": "prevents cart block applying coupon with usage limit", "status": "passed" } - ], - "Shopper Cart Block Tax Levels": [ + ] + } + }, + { + "file": "shopper\\/cart-block.spec.js", + "status": "passed", + "has_pending": false, + "tests": { + "Cart Block page": [ { - "title": "that applying taxes in cart block of 4 different levels calculates properly", + "title": "can see empty cart block", "status": "passed" }, { - "title": "that applying taxes in Cart Block of 2 different levels (2 excluded) calculates properly", - "status": "passed" - } - ], - "Shipping Cart Block Tax": [ - { - "title": "that tax is applied in Cart Block to shipping as well as order", + "title": "can add product to cart block, increase quantity, manage cross-sell products and proceed to checkout", "status": "passed" } ] } }, { - "file": "shopper\\/cart-block-coupons.spec.js", + "file": "shopper\\/cart-calculate-shipping.spec.js", "status": "passed", "has_pending": false, "tests": { - "Cart Block Applying Coupons": [ + "Cart Calculate Shipping": [ { - "title": "can create Cart Block page", + "title": "allows customer to calculate Free Shipping if in Germany", "status": "passed" }, { - "title": "allows cart block to apply coupon of any type", + "title": "allows customer to calculate Flat rate and Local pickup if in France", "status": "passed" }, { - "title": "allows cart block to apply multiple coupons", + "title": "should show correct total cart price after updating quantity", "status": "passed" }, { - "title": "prevents cart block applying same coupon twice", + "title": "should show correct total cart price with 2 products and flat rate", + "status": "passed" + }, + { + "title": "should show correct total cart price with 2 products without flat rate", "status": "passed" } ] } }, { - "file": "shopper\\/cart-block.spec.js", + "file": "shopper\\/cart-checkout-block-calculate-tax.spec.js", "status": "passed", - "has_pending": false, + "has_pending": true, "tests": { - "Cart Block page": [ + "Shopper Cart & Checkout Block Tax Display": [ { - "title": "can see empty cart block", + "title": "can create Cart Block page", "status": "passed" }, { - "title": "can add product to cart block, increase quantity, manage cross-sell products and proceed to checkout", + "title": "can create Checkout Block page", + "status": "passed" + }, + { + "title": "that inclusive tax is displayed properly in blockbased Cart & Checkout pages", + "status": "passed" + }, + { + "title": "that exclusive tax is displayed properly in blockbased Cart & Checkout pages", + "status": "passed" + } + ], + "Shopper Cart & Checkout Block Tax Rounding": [ + { + "title": "that tax rounding is present at subtotal level in blockbased Cart & Checkout pages", + "status": "passed" + }, + { + "title": "that tax rounding is off at subtotal level in blockbased Cart & Checkout pages", + "status": "passed" + } + ], + "Shopper Cart & Checkout Block Tax Levels": [ + { + "title": "that applying taxes in cart block of 4 different levels calculates properly", + "status": "passed" + }, + { + "title": "that applying taxes in blockbased Cart & Checkout of 2 different levels (2 excluded) calculates properly", "status": "passed" } + ], + "Shipping Cart & Checkout Block Tax": [ + { + "title": "that tax is applied in Cart Block to shipping as well as order", + "status": "pending" + } ] } }, { - "file": "shopper\\/cart-calculate-shipping.spec.js", + "file": "shopper\\/cart-checkout-coupons.spec.js", "status": "passed", "has_pending": false, "tests": { - "Cart Calculate Shipping": [ + "Cart & Checkout applying coupons": [ { - "title": "allows customer to calculate Free Shipping if in Germany", + "title": "allows applying coupon of type fixed_cart", "status": "passed" }, { - "title": "allows customer to calculate Flat rate and Local pickup if in France", + "title": "allows applying coupon of type percent", "status": "passed" }, { - "title": "should show correct total cart price after updating quantity", + "title": "allows applying coupon of type fixed_product", "status": "passed" }, { - "title": "should show correct total cart price with 2 products and flat rate", + "title": "prevents applying same coupon twice", "status": "passed" }, { - "title": "should show correct total cart price with 2 products without flat rate", + "title": "allows applying multiple coupons", + "status": "passed" + }, + { + "title": "restores total when coupons are removed", "status": "passed" } ] } }, { - "file": "shopper\\/cart-coupons.spec.js", + "file": "shopper\\/cart-checkout-restricted-coupons.spec.js", "status": "passed", - "has_pending": false, + "has_pending": true, "tests": { - "Cart applying coupons": [ + "Cart & Checkout Restricted Coupons": [ { - "title": "allows cart to apply coupon of type fixed_cart", + "title": "expired coupon cannot be used", "status": "passed" }, { - "title": "allows cart to apply coupon of type percent", + "title": "coupon requiring min and max amounts and can only be used alone can only be used within limits", "status": "passed" }, { - "title": "allows cart to apply coupon of type fixed_product", + "title": "coupon cannot be used on sale item", "status": "passed" }, { - "title": "prevents cart applying same coupon twice", + "title": "coupon can only be used twice", "status": "passed" }, { - "title": "allows cart to apply multiple coupons", + "title": "coupon cannot be used on certain products\\/categories (included product\\/category)", "status": "passed" }, { - "title": "restores cart total when coupons are removed", + "title": "coupon can be used on certain products\\/categories", "status": "passed" + }, + { + "title": "coupon cannot be used on specific products\\/categories (excluded product\\/category)", + "status": "passed" + }, + { + "title": "coupon can be used on other products\\/categories", + "status": "passed" + }, + { + "title": "coupon cannot be used by any customer (email restricted)", + "status": "pending" + }, + { + "title": "coupon can be used by the right customer (email restricted) but only once", + "status": "pending" } ] } @@ -1233,38 +1367,87 @@ { "title": "should go to the checkout page when \\"Proceed to Checkout\\" is clicked", "status": "passed" + }, + { + "title": "can manage cross-sell products and maximum item quantity", + "status": "passed" } ] } }, { - "file": "shopper\\/checkout-coupons.spec.js", + "file": "shopper\\/checkout-block-coupons.spec.js", + "status": "passed", + "has_pending": false, + "tests": { + "Checkout Block Applying Coupons": [ + { + "title": "can create checkout block page", + "status": "passed" + }, + { + "title": "allows checkout block to apply coupon of any type", + "status": "passed" + }, + { + "title": "allows checkout block to apply multiple coupons", + "status": "passed" + }, + { + "title": "prevents checkout block applying same coupon twice", + "status": "passed" + }, + { + "title": "prevents checkout block applying coupon with usage limit", + "status": "passed" + } + ] + } + }, + { + "file": "shopper\\/checkout-block.spec.js", "status": "passed", "has_pending": true, "tests": { - "Checkout coupons": [ + "Checkout Block page": [ { - "title": "allows checkout to apply coupon of type fixed_cart", + "title": "can see empty checkout block page", "status": "passed" }, { - "title": "allows checkout to apply coupon of type percent", + "title": "allows customer to choose available payment methods", "status": "passed" }, { - "title": "allows checkout to apply coupon of type fixed_product", + "title": "allows customer to fill shipping details", "status": "passed" }, { - "title": "prevents checkout applying same coupon twice", + "title": "allows customer to fill different shipping and billing details", + "status": "passed" + }, + { + "title": "warn when customer is missing required details", "status": "passed" }, { - "title": "allows checkout to apply multiple coupons", + "title": "allows customer to fill shipping details and toggle different billing", + "status": "passed" + }, + { + "title": "can choose different shipping types in the checkout", "status": "pending" }, { - "title": "restores checkout total when coupons are removed", + "title": "allows guest customer to place an order", + "status": "passed" + }, + { + "title": "allows existing customer to place an order", + "status": "passed" + }, + { + "title": "can create an account during checkout", "status": "passed" } ] @@ -1299,7 +1482,7 @@ { "file": "shopper\\/checkout.spec.js", "status": "passed", - "has_pending": false, + "has_pending": true, "tests": { "Checkout page": [ { @@ -1324,7 +1507,7 @@ }, { "title": "allows guest customer to place an order", - "status": "passed" + "status": "pending" }, { "title": "allows existing customer to place order", @@ -1603,7 +1786,7 @@ { "file": "shopper\\/tax\\/checkout-calculate-tax.spec.js", "status": "passed", - "has_pending": false, + "has_pending": true, "tests": { "Tax rates in the cart and checkout": [], "Tax rates in the cart and checkout > Shopper Tax Display Tests": [ @@ -1643,6 +1826,19 @@ "Tax rates in the cart and checkout > Shipping Tax": [ { "title": "checks that tax is applied to shipping as well as order", + "status": "pending" + } + ] + } + }, + { + "file": "shopper\\/wordpress-post.spec.js", + "status": "passed", + "has_pending": false, + "tests": { + "WordPress": [ + { + "title": "logged-in customer can comment on a post", "status": "passed" } ] @@ -1679,16 +1875,11 @@ } } ], - "summary": "Test Suites: 0 skipped, 0 failed, 67 passed, 67 total | Tests: 9 skipped, 0 failed, 238 passed, 247 total." + "summary": "Test Suites: 0 skipped, 0 failed, 73 passed, 73 total | Tests: 15 skipped, 0 failed, 267 passed, 282 total." } }, { - "debug_log": [ - { - "count": "1", - "message": "PHP Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in \\/var\\/www\\/html\\/wp-includes\\/formatting.php on line 3771" - } - ] + "debug_log": [] } ] ]'; diff --git a/_tests/tests/__snapshots__/Wooe2eTest__test_woo_e2e_no_op_woostable_php74_wprc_865de3b217a16a96d42609a9ca8ebcf0__1.php b/_tests/tests/__snapshots__/Wooe2eTest__test_woo_e2e_no_op_woostable_php74_wprc_865de3b217a16a96d42609a9ca8ebcf0__1.php index f2477666..370a526a 100644 --- a/_tests/tests/__snapshots__/Wooe2eTest__test_woo_e2e_no_op_woostable_php74_wprc_865de3b217a16a96d42609a9ca8ebcf0__1.php +++ b/_tests/tests/__snapshots__/Wooe2eTest__test_woo_e2e_no_op_woostable_php74_wprc_865de3b217a16a96d42609a9ca8ebcf0__1.php @@ -31,7 +31,7 @@ }, "test_results_manager_url": "https:\\/\\/test-results-manager.com", "test_results_manager_expiration": 1234567890, - "test_summary": "Test Suites: 0 skipped, 0 failed, 67 passed, 67 total | Tests: 9 skipped, 0 failed, 238 passed, 247 total.", + "test_summary": "Test Suites: 0 skipped, 0 failed, 73 passed, 73 total | Tests: 15 skipped, 0 failed, 267 passed, 282 total.", "version": "Undefined", "update_complete": true, "ai_suggestion_status": "none", @@ -42,13 +42,13 @@ { "test_result_json": { "numFailedTestSuites": 0, - "numPassedTestSuites": 67, + "numPassedTestSuites": 73, "numPendingTestSuites": 0, - "numTotalTestSuites": 67, + "numTotalTestSuites": 73, "numFailedTests": 0, - "numPassedTests": 238, - "numPendingTests": 9, - "numTotalTests": 247, + "numPassedTests": 267, + "numPendingTests": 15, + "numTotalTests": 282, "testResults": [ { "file": "activate-and-setup\\/basic-setup.spec.js", @@ -67,6 +67,29 @@ ] } }, + { + "file": "activate-and-setup\\/core-profiler.spec.js", + "status": "passed", + "has_pending": true, + "tests": { + "Store owner can complete the core profiler": [ + { + "title": "Can complete the core profiler skipping extension install", + "status": "passed" + }, + { + "title": "Can complete the core profiler installing default extensions", + "status": "pending" + } + ], + "Store owner can skip the core profiler": [ + { + "title": "Can click skip guided setup", + "status": "passed" + } + ] + } + }, { "file": "activate-and-setup\\/setup-onboarding.spec.js", "status": "passed", @@ -260,7 +283,11 @@ "tests": { "Store owner can view Assembler Hub for store customization": [ { - "title": "Can view the Assembler Hub page", + "title": "Can not access the Assembler Hub page when the theme is not customized", + "status": "pending" + }, + { + "title": "Can view the Assembler Hub page when the theme is already customized", "status": "pending" }, { @@ -342,16 +369,16 @@ { "file": "merchant\\/create-shipping-zones.spec.js", "status": "passed", - "has_pending": true, + "has_pending": false, "tests": { "WooCommerce Shipping Settings - Add new shipping zone": [ { "title": "add shipping zone for Mayne Island with free Local pickup", - "status": "pending" + "status": "passed" }, { "title": "add shipping zone for British Columbia with Free shipping", - "status": "pending" + "status": "passed" }, { "title": "add shipping zone for Canada with Flat rate", @@ -748,6 +775,27 @@ ] } }, + { + "file": "merchant\\/product-delete.spec.js", + "status": "passed", + "has_pending": true, + "tests": { + "Products > Delete Product": [ + { + "title": "can delete a product from edit view", + "status": "passed" + }, + { + "title": "can quick delete a product from product list", + "status": "pending" + }, + { + "title": "can permanently delete a product from trash list", + "status": "passed" + } + ] + } + }, { "file": "merchant\\/product-edit.spec.js", "status": "passed", @@ -761,6 +809,35 @@ ] } }, + { + "file": "merchant\\/product-images.spec.js", + "status": "passed", + "has_pending": false, + "tests": { + "Products > Product Images": [ + { + "title": "can set product image", + "status": "passed" + }, + { + "title": "can update the product image", + "status": "passed" + }, + { + "title": "can delete the product image", + "status": "passed" + }, + { + "title": "can create a product gallery", + "status": "passed" + }, + { + "title": "can update a product gallery", + "status": "passed" + } + ] + } + }, { "file": "merchant\\/product-import-csv.spec.js", "status": "passed", @@ -1033,152 +1110,209 @@ } }, { - "file": "shopper\\/cart-block-calculate-tax.spec.js", + "file": "shopper\\/cart-block-coupons.spec.js", "status": "passed", "has_pending": false, "tests": { - "Shopper Cart Block Tax Display": [ + "Cart Block Applying Coupons": [ { "title": "can create Cart Block page", "status": "passed" }, { - "title": "that inclusive tax is displayed properly in Cart Block page", + "title": "allows cart block to apply coupon of any type", "status": "passed" }, { - "title": "that exclusive tax is displayed properly in Cart Block page", + "title": "allows cart block to apply multiple coupons", "status": "passed" - } - ], - "Shopper Cart Block Tax Rounding": [ + }, { - "title": "that tax rounding is present at subtotal level", + "title": "prevents cart block applying same coupon twice", "status": "passed" }, { - "title": "that tax rounding is off at subtotal level", + "title": "prevents cart block applying coupon with usage limit", "status": "passed" } - ], - "Shopper Cart Block Tax Levels": [ + ] + } + }, + { + "file": "shopper\\/cart-block.spec.js", + "status": "passed", + "has_pending": false, + "tests": { + "Cart Block page": [ { - "title": "that applying taxes in cart block of 4 different levels calculates properly", + "title": "can see empty cart block", "status": "passed" }, { - "title": "that applying taxes in Cart Block of 2 different levels (2 excluded) calculates properly", - "status": "passed" - } - ], - "Shipping Cart Block Tax": [ - { - "title": "that tax is applied in Cart Block to shipping as well as order", + "title": "can add product to cart block, increase quantity, manage cross-sell products and proceed to checkout", "status": "passed" } ] } }, { - "file": "shopper\\/cart-block-coupons.spec.js", + "file": "shopper\\/cart-calculate-shipping.spec.js", "status": "passed", "has_pending": false, "tests": { - "Cart Block Applying Coupons": [ + "Cart Calculate Shipping": [ { - "title": "can create Cart Block page", + "title": "allows customer to calculate Free Shipping if in Germany", "status": "passed" }, { - "title": "allows cart block to apply coupon of any type", + "title": "allows customer to calculate Flat rate and Local pickup if in France", "status": "passed" }, { - "title": "allows cart block to apply multiple coupons", + "title": "should show correct total cart price after updating quantity", "status": "passed" }, { - "title": "prevents cart block applying same coupon twice", + "title": "should show correct total cart price with 2 products and flat rate", + "status": "passed" + }, + { + "title": "should show correct total cart price with 2 products without flat rate", "status": "passed" } ] } }, { - "file": "shopper\\/cart-block.spec.js", + "file": "shopper\\/cart-checkout-block-calculate-tax.spec.js", "status": "passed", - "has_pending": false, + "has_pending": true, "tests": { - "Cart Block page": [ + "Shopper Cart & Checkout Block Tax Display": [ { - "title": "can see empty cart block", + "title": "can create Cart Block page", "status": "passed" }, { - "title": "can add product to cart block, increase quantity, manage cross-sell products and proceed to checkout", + "title": "can create Checkout Block page", + "status": "passed" + }, + { + "title": "that inclusive tax is displayed properly in blockbased Cart & Checkout pages", + "status": "passed" + }, + { + "title": "that exclusive tax is displayed properly in blockbased Cart & Checkout pages", + "status": "passed" + } + ], + "Shopper Cart & Checkout Block Tax Rounding": [ + { + "title": "that tax rounding is present at subtotal level in blockbased Cart & Checkout pages", + "status": "passed" + }, + { + "title": "that tax rounding is off at subtotal level in blockbased Cart & Checkout pages", + "status": "passed" + } + ], + "Shopper Cart & Checkout Block Tax Levels": [ + { + "title": "that applying taxes in cart block of 4 different levels calculates properly", + "status": "passed" + }, + { + "title": "that applying taxes in blockbased Cart & Checkout of 2 different levels (2 excluded) calculates properly", "status": "passed" } + ], + "Shipping Cart & Checkout Block Tax": [ + { + "title": "that tax is applied in Cart Block to shipping as well as order", + "status": "pending" + } ] } }, { - "file": "shopper\\/cart-calculate-shipping.spec.js", + "file": "shopper\\/cart-checkout-coupons.spec.js", "status": "passed", "has_pending": false, "tests": { - "Cart Calculate Shipping": [ + "Cart & Checkout applying coupons": [ { - "title": "allows customer to calculate Free Shipping if in Germany", + "title": "allows applying coupon of type fixed_cart", "status": "passed" }, { - "title": "allows customer to calculate Flat rate and Local pickup if in France", + "title": "allows applying coupon of type percent", "status": "passed" }, { - "title": "should show correct total cart price after updating quantity", + "title": "allows applying coupon of type fixed_product", "status": "passed" }, { - "title": "should show correct total cart price with 2 products and flat rate", + "title": "prevents applying same coupon twice", "status": "passed" }, { - "title": "should show correct total cart price with 2 products without flat rate", + "title": "allows applying multiple coupons", + "status": "passed" + }, + { + "title": "restores total when coupons are removed", "status": "passed" } ] } }, { - "file": "shopper\\/cart-coupons.spec.js", + "file": "shopper\\/cart-checkout-restricted-coupons.spec.js", "status": "passed", - "has_pending": false, + "has_pending": true, "tests": { - "Cart applying coupons": [ + "Cart & Checkout Restricted Coupons": [ { - "title": "allows cart to apply coupon of type fixed_cart", + "title": "expired coupon cannot be used", "status": "passed" }, { - "title": "allows cart to apply coupon of type percent", + "title": "coupon requiring min and max amounts and can only be used alone can only be used within limits", "status": "passed" }, { - "title": "allows cart to apply coupon of type fixed_product", + "title": "coupon cannot be used on sale item", "status": "passed" }, { - "title": "prevents cart applying same coupon twice", + "title": "coupon can only be used twice", "status": "passed" }, { - "title": "allows cart to apply multiple coupons", + "title": "coupon cannot be used on certain products\\/categories (included product\\/category)", "status": "passed" }, { - "title": "restores cart total when coupons are removed", + "title": "coupon can be used on certain products\\/categories", "status": "passed" + }, + { + "title": "coupon cannot be used on specific products\\/categories (excluded product\\/category)", + "status": "passed" + }, + { + "title": "coupon can be used on other products\\/categories", + "status": "passed" + }, + { + "title": "coupon cannot be used by any customer (email restricted)", + "status": "pending" + }, + { + "title": "coupon can be used by the right customer (email restricted) but only once", + "status": "pending" } ] } @@ -1233,38 +1367,87 @@ { "title": "should go to the checkout page when \\"Proceed to Checkout\\" is clicked", "status": "passed" + }, + { + "title": "can manage cross-sell products and maximum item quantity", + "status": "passed" } ] } }, { - "file": "shopper\\/checkout-coupons.spec.js", + "file": "shopper\\/checkout-block-coupons.spec.js", + "status": "passed", + "has_pending": false, + "tests": { + "Checkout Block Applying Coupons": [ + { + "title": "can create checkout block page", + "status": "passed" + }, + { + "title": "allows checkout block to apply coupon of any type", + "status": "passed" + }, + { + "title": "allows checkout block to apply multiple coupons", + "status": "passed" + }, + { + "title": "prevents checkout block applying same coupon twice", + "status": "passed" + }, + { + "title": "prevents checkout block applying coupon with usage limit", + "status": "passed" + } + ] + } + }, + { + "file": "shopper\\/checkout-block.spec.js", "status": "passed", "has_pending": true, "tests": { - "Checkout coupons": [ + "Checkout Block page": [ { - "title": "allows checkout to apply coupon of type fixed_cart", + "title": "can see empty checkout block page", "status": "passed" }, { - "title": "allows checkout to apply coupon of type percent", + "title": "allows customer to choose available payment methods", "status": "passed" }, { - "title": "allows checkout to apply coupon of type fixed_product", + "title": "allows customer to fill shipping details", "status": "passed" }, { - "title": "prevents checkout applying same coupon twice", + "title": "allows customer to fill different shipping and billing details", + "status": "passed" + }, + { + "title": "warn when customer is missing required details", "status": "passed" }, { - "title": "allows checkout to apply multiple coupons", + "title": "allows customer to fill shipping details and toggle different billing", + "status": "passed" + }, + { + "title": "can choose different shipping types in the checkout", "status": "pending" }, { - "title": "restores checkout total when coupons are removed", + "title": "allows guest customer to place an order", + "status": "passed" + }, + { + "title": "allows existing customer to place an order", + "status": "passed" + }, + { + "title": "can create an account during checkout", "status": "passed" } ] @@ -1299,7 +1482,7 @@ { "file": "shopper\\/checkout.spec.js", "status": "passed", - "has_pending": false, + "has_pending": true, "tests": { "Checkout page": [ { @@ -1324,7 +1507,7 @@ }, { "title": "allows guest customer to place an order", - "status": "passed" + "status": "pending" }, { "title": "allows existing customer to place order", @@ -1603,7 +1786,7 @@ { "file": "shopper\\/tax\\/checkout-calculate-tax.spec.js", "status": "passed", - "has_pending": false, + "has_pending": true, "tests": { "Tax rates in the cart and checkout": [], "Tax rates in the cart and checkout > Shopper Tax Display Tests": [ @@ -1643,6 +1826,19 @@ "Tax rates in the cart and checkout > Shipping Tax": [ { "title": "checks that tax is applied to shipping as well as order", + "status": "pending" + } + ] + } + }, + { + "file": "shopper\\/wordpress-post.spec.js", + "status": "passed", + "has_pending": false, + "tests": { + "WordPress": [ + { + "title": "logged-in customer can comment on a post", "status": "passed" } ] @@ -1679,7 +1875,7 @@ } } ], - "summary": "Test Suites: 0 skipped, 0 failed, 67 passed, 67 total | Tests: 9 skipped, 0 failed, 238 passed, 247 total." + "summary": "Test Suites: 0 skipped, 0 failed, 73 passed, 73 total | Tests: 15 skipped, 0 failed, 267 passed, 282 total." } }, {