woocommerce/plugins/woocommerce-blocks/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
..
e2e Product Collection: add e2e tests with all product elements included (#45623) 2024-03-19 08:59:58 +01:00
e2e-jest Migrate coupon- and shipping-related tests to Playwright (#44108) 2024-01-31 01:23:09 -08:00
js Introduce Additional Fields extensibility API (#42695) 2023-12-15 13:45:38 +01:00
mocks Add automated tests to verify specific product block templates are rendered (#44363) 2024-02-08 10:18:33 +01:00
utils Fixed Blocks Linting Errors (#42727) 2023-12-12 15:05:20 -08:00
bootstrap.php Fixed Blocks Autoloads 2023-12-09 20:42:32 -08:00