woocommerce/plugins/woocommerce-blocks/tests/e2e/bin
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
..
pages Add e2e tests for notice templates (#44612) 2024-02-27 13:46:31 +01:00
posts Refactor review blocks e2e tests to remove redundant html templates and add more scenarios (#44880) 2024-02-29 15:43:59 +13:00
scripts Product Collection: add e2e tests with all product elements included (#45623) 2024-03-19 08:59:58 +01:00
themes Allow usage of block notice templates when using classic themes (#45164) 2024-03-14 19:33:33 +07:00
test-env-setup.sh Allow usage of block notice templates when using classic themes (#45164) 2024-03-14 19:33:33 +07:00