* When order is out of sync, suggest a fix
* Allow cleanup tool to remove data for placeholders even if order can’t be loaded from HPOS
* Prevent infinite loops in cleanup tool
* Add changelog
* Fix PHPCS violations
* Improve error messages
* Fix syntax error
* Minor fix
* CYS - color picker: fix CSS
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Stop relying on snapshot for footer and header tests
* Remove only
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* CYS: add debounce to improve performance
* Fix button colors
* Format
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: Luigi Teschio <gigitux@gmail.com>
Co-authored-by: github-actions <github-actions@github.com>
* CYS: add debounce to improve performance
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Disable assembler header test temporarily
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Add data providers for WC_Formatting_Functions_Test tests
* Add tests for Denmark postcodes
* Add formatting for Sweden postcodes
* Add formatting for CZ, SK postcodes. Cleanup formatting for LV
* Group wc_format_postcode tests by country
* Add changefile
* Match digits only in LV, CZ, SK postcode formatting
* Update postcode validation for CZ, SK
* Minor adjustment to regex
---------
Co-authored-by: Jorge Torres <jorge.torres@automattic.com>
* Fix the overlay color of the "Featured Category Triple" pattern
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Add e2e tests for the assembler footer section
* Add changefile(s) from automation for the following project(s): woocommerce
* Renam var
* Rename pageObject
* Add test for the preview
* Improve the test by extracting the expected class from the selected footer
* Update snapshot
---------
Co-authored-by: github-actions <github-actions@github.com>
* Add e2e tests for the assembler header section
* Rename var
* Add changefile(s) from automation for the following project(s): woocommerce
* Add test to check the preview changes when selecting a header
* Add missing header classes and all preview test
---------
Co-authored-by: github-actions <github-actions@github.com>
* Add unit test simulating order mix up when order ID is zero.
* Better tests.
* Dont try reading from DB when order is zero to prevent mixups.
* PHPCS fixes and changelog.
* Syntax sugar
Co-authored-by: Corey McKrill <916023+coreymckrill@users.noreply.github.com>
---------
Co-authored-by: Corey McKrill <916023+coreymckrill@users.noreply.github.com>
* Add E2E tests for Product Filter: Price block
* Add changefile(s) from automation for the following project(s): woocommerce-blocks
* Use web first assertions
* Replace `toB` by `toHaveValue` in E2E tests
---------
Co-authored-by: github-actions <github-actions@github.com>
* skip color picker E2E tests
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Temporarily disable deprecation logging and use old DataSourcePoller class
* Changelog
* Update DataSourcePoller.php
* Change to comment for lint
* Typo again
* Lint
* Better comment from @nigeljamesstevenson
* E2E test env: use WordPress 6.5 stable version
* Add changefile(s) from automation for the following project(s): woocommerce-blocks
* Revert "Wait for notice text to be visible instead of checking data store"
This reverts commit f26892a646.
* Revert "Fix linting errors"
This reverts commit eaf90e4890.
---------
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Thomas Roberts <thomas.roberts@automattic.com>
* Extract update count function.
* Pass wooUpdateCount to be used by admin components.
* Show update count bubble on in-app my subscriptions tab.
* Add changefile(s) from automation for the following project(s): woocommerce
* Refactor how update count HTML is generated and move logic into appropriate classes.
* Show red badge when the site is disconnected, regardless of the installation status of WUM.
* Always display as 1 update is available when site is disconnected.
* Skip using dangerouslySetInnerHTML.
* Remove unused dependency.
* Move updateCount to a tab property.
* Prevent calling get_update_count if the site is not connected.
* Raw url encode the product key before signing the URL
---------
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Muhammad Anas <muhammad.anas@automattic.com>
* Use templateSlug context in Product Collection
* Implement util recognising the location for track events
* Implement the track event when user chooses a collection in Product Collection
* Add changelog
* Remove incorrect import
* Cover cases with specific Product or Specific Taxonomy
* Update event name
* Adjust Product Filters tests
* Revert wrong commit
* Unify the category for all Product Elements
* Add changelog
* Bring back category to product elements that don't use shared confiug
* Add specific category to some Product Elements blocks registered only for Single Product template
* CYS - E2E tests: add logo picker E2E tests
* fix flakiness
* use as second parameter
* Add changefile(s) from automation for the following project(s): woocommerce
* Add changes to tests projects on package.json
* CYS - E2E tests: fix flaky assembler-hub test
* Add changefile(s) from automation for the following project(s): woocommerce
* fix flakiness
* add waitUntil
* improve logic
* fix build error
* try now
* fix unit test
* fix flakiness
* fix logic
* improve tests
* add more tests
* use .toBe
* add documentation
---------
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Adrian Moldovan <3854374+adimoldovan@users.noreply.github.com>
* Prevent orders being placed with invalid shipping options
* Add changelog
* Add shipping_disable_flat_rate fixture function
* Test checking out with no valid shipping methods selected
* Update tests to add a default shipping method
* Update test_checkout_invalid_shipping_method to disable method
* If shipping methods is null, return an array with an empty string inside
* Replace WC session in tests that rely on setting cookies
* Add MockSessionHandler to handle test cases using cookies
* Add docblock comment
* Expect shipping validation to fail if chosen methods are null
* Add shipping method before testing validate_selected_shipping_methods
* Update MockSessionHandler to handle caching
* Show error when test fails
* Default the chosen shipping methods to an empty array if not set
* Split checks for needs_shipping and valid shipping apart
* Remove unnecessary session set and total calculation
* Fix lint errors
* Init session in each test
* Reimplement required methods (those that are private or use cookies)
* Update phpcs ignore comment to be inline
* Prevent error when accessing unset variable in mock cache
* Fix lint error
* Add meta_data parameter in generateProductVariations
* Apply filter to get meta_data to generate variations
* Add meta_data parameter in generate variations endpoint
* Update name and add documentation
* Fix useEntityRecord in blockEditor
* changed LYS task id to hyphens for consistency with the other tasks
* add: lys hub sidebar
* ling
* lint2
* fixed sidebar title back button
* lint
* missed i18n
* sidebar title css
* unnecessary mutate
* hide test order toggle for now
* Recognise if Product Collection is inside Cart or Checkout blocks
* Upgrade priority block recognition over templates
* Update the comments to better depict the flow
* Add changelog
* Simplify the logic
* Add coming soon page banner on the frontend
* Add changefile(s) from automation for the following project(s): woocommerce
* Check for shop_manager
---------
Co-authored-by: github-actions <github-actions@github.com>
* Add icons to ellipsis menu -- lys
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Copy update for coming soon badge
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Site visibility settings copy changes
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Make sure we are in admin area when using current_screen()
* Add changefile(s) from automation for the following project(s): woocommerce
* Check admin in preload_settings
* Remove unwanted changes from a different branch
---------
Co-authored-by: github-actions <github-actions@github.com>
* clean up woocommerce-blocks package.json
* update from feedback
* move entry to original location
---------
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>