woocommerce/plugins/woocommerce-blocks/tests/e2e/tests
Karol Manijak 6cb52c00c0
Product Collection: add e2e tests with all product elements included (#45623)
* Prepare test cases

* Shorten out the test description

* Add first test in a post with dummy expect

* Verify all content is displayed

* Add the test in Product Archive and Home Page

* Add changelog

* Add tag to Beanie product

* Switch to Beanie which is on sale to verify on sale badge

* Add comments to explain the expects

* Adjust the expected content

* Switch to lower case in expect

* Switch from woocommerce/product-summary to core/post-excerpt

* Adjust products.sh

* Improve method waiting for products to show so it;'s deterministic

* Refresh locators in template

* Remove unnecessary check

* Eslint disable: expects are extracted to function so disable eslint compaining there's no expect

* Adjust other test after amending products setup

* Change the verify happening in a wrong place

* Tests adjustments

* Revert Blog Home template before performing a test

* Fix other tests
2024-03-19 08:59:58 +01:00
..
add-to-cart-form [E2E] Stabilize flaky Add to Cart test (#44639) 2024-02-16 13:44:41 +00:00
all-reviews Refactor review blocks e2e tests to remove redundant html templates and add more scenarios (#44880) 2024-02-29 15:43:59 +13:00
attributes-filter Blocks Playwright tests: Add tests for the new attribute filter block (#45333) 2024-03-13 00:15:05 +13:00
cart Blocks E2E: Fix guest user handling in checkout tests (#45624) 2024-03-15 17:23:19 +00:00
checkout Blocks E2E: Fix guest user handling in checkout tests (#45624) 2024-03-15 17:23:19 +00:00
classic-template Update @wordpress/env to 8.1.1 and re-enable PHP Unit Tests for PHP v 8.1 and 8.2 (https://github.com/woocommerce/woocommerce-blocks/pull/9875) 2023-09-01 16:07:55 +07:00
customer-account Add Playwright tests for All Reviews, Reviews by Product and Reviews by Category blocks (#42903) 2023-12-22 09:33:18 +01:00
filter-blocks Blocks Playwright tests: Add tests for the new attribute filter block (#45333) 2024-03-13 00:15:05 +13:00
local-pickup Fix CI Lint errors (#44228) 2024-01-31 16:12:30 +01:00
mini-cart Unskip Mini Cart i18n test (#45371) 2024-03-08 12:39:22 +07:00
on-sale-badge Product Gallery Thumbnails: Add View all overlay (https://github.com/woocommerce/woocommerce-blocks/pull/11087) 2023-11-02 21:05:20 +01:00
page-content-wrapper Add e2e tests for the Page Content Wrapper block (#44122) 2024-01-29 10:11:43 +01:00
price-filter [E2E] Stabilize a flaky Price Filter test (#44690) 2024-02-20 16:30:16 +01:00
product-button fix - Product Button: don't trigger jQuery add to cart function when the button is clicked on classic themes (#43325) 2024-01-05 17:34:16 +01:00
product-collection Product Collection: add e2e tests with all product elements included (#45623) 2024-03-19 08:59:58 +01:00
product-gallery Product Gallery block > Pop-Up: Fix overlay sizing issue (#44479) 2024-02-09 11:38:41 -03:00
products Fix: Adjust Playwright E2E tests for WP 6.3 (https://github.com/woocommerce/woocommerce-blocks/pull/10516) 2023-08-11 06:28:38 +07:00
related-products Add condition to register blocks and variation in single product temp… (https://github.com/woocommerce/woocommerce-blocks/pull/10978) 2023-09-22 08:27:12 +02:00
reviews-by-category Refactor review blocks e2e tests to remove redundant html templates and add more scenarios (#44880) 2024-02-29 15:43:59 +13:00
reviews-by-product Refactor review blocks e2e tests to remove redundant html templates and add more scenarios (#44880) 2024-02-29 15:43:59 +13:00
single-product-template Migrate coupon- and shipping-related tests to Playwright (#44108) 2024-01-31 01:23:09 -08:00
templates Open templates from list instead of loading the URL in block templates e2e tests (#44774) 2024-02-20 10:35:27 +01:00
basic.block_theme.spec.ts Fixed Blocks Linting Errors (#42727) 2023-12-12 15:05:20 -08:00