Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
4 changed files
with
190 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
...merce/changelog/45214-product-collection-add-e2e-tests-with-all-product-elements-included
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Significance: patch | ||
Type: dev | ||
|
||
Product Collection: Add E2E tests confirming all Product Elements are rendered correctly |