Closed faisal-alvi closed 2 days ago
@dkotter I checked and found the following e2e test code that covers checking the existence of the unavailable start day. The E2E test is expected to fail but it requires an investigation. The original issue is that we do not see the unavailable day, rather we see a green/available day; the following test code checks for it.
@faisal-alvi I am checking this issue with the trunk branch and it works as expected with trunk. Can you check once if you still able to reproduce with trunk?
I tested again in trunk
and I can reproduce the issue. The following are the plugin versions/settings in use.
Please make sure you re-build the project when you move to the trunk branch from this PR branch. If it still does not work, let's plan a 1:1 connection.
@faisal-alvi I checked again with the older Woo version 8.8.3 as mentioned above and also tried without using fixes of this PR#3755 as having time zone-related fixes but I am still not able to reproduce it. Let's have a 1:1 when you have time. I will try on your setup.
This issue was reported approximately 3 months ago, and recent testing showed it was not reproducible. we tried on various environments, but it was hard to reproduce.
After in-depth debugging, it was found that this issue is only reproducible with the TT4 theme and works fine with the Storefront theme, although at the time of reporting, the issue was also happening with the Storefront theme.
Please have a look at the screencast below to know more (with trunk/stable branch):
The below QA report shows that the current PR fixes the issue for TT4 as well.
Testing Environment -
Test Results - Issue has been fixed and working fine with Storefront as well as Twenty Twenty Four theme.
Functional Demo / Screencast -
After Fix:
Before Fix:
Next Step- Ready for UAT.
Testing Environment -
Tested with Archive File created via
php woorelease.phar build https://github.com/woocommerce/woocommerce-accommodation-bookings/tree/smoke-testing
Status- Working as expected. Ready to merge π
cc: @vikrampm1
All Submissions:
Changes proposed in this Pull Request:
After a thorough debugging and investigation, it is found that the search for the selector for the product type was incorrectly coded (or maybe the HTML changed in recent WP/Woo releases). This PR tweaks the code so that the selector is found and the proper class is applied to the dates, making them display as fully booked when required, ultimately fixing the reported issue (#417).
Note: in the reported issue it is mentioned that it occurs only when the "Display visitor's local time" setting is enabled but it was occurring regardless of this setting.
Closes #417.
Steps to test the changes in this Pull Request:
Changelog entry