bb3f38a3d8
* Fix issue where Product Collection wasn't showing anything - Moved queryId logic to a new `useQueryId` custom hook to encapsulate the logic. - Simplified attribute setting in `useEffect` by using a default attributes value. - Utilized `fastDeepEqual` to check for attribute equality These changes fix the issue where the Product Collection block did not display properly in the template editor, ensuring consistent rendering of products. * Add comment * Add changefile(s) from automation for the following project(s): woocommerce-blocks * Remove leftover comment * Add e2e tests for Product Collection block visibility after refresh Added end-to-end tests to verify the visibility of the Product Collection block after page refresh in both Product Archive and Post contexts. - Added tests to ensure the Product Collection block remains visible after refreshing the template or post editor. - Updated existing tests to use `BLOCK_LABELS` for better readability and maintainability. * Improve E2E tests --------- Co-authored-by: github-actions <github-actions@github.com> |
||
---|---|---|
.. | ||
e2e | ||
js | ||
mocks/woo-test-helper | ||
utils |