-
Notifications
You must be signed in to change notification settings - Fork 10.7k
Fix "1 of 2 steps" is shown for the first step in a 3 step tour #34413
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Test Results SummaryCommit SHA: e5abe8b
To view the full E2E test report, click here. To view all test reports, visit the WooCommerce Test Reports Dashboard. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the fix is unreliable, I've been getting 2 steps even with the delay. It seems on my instance it takes at least 2 seconds to load. On sites with worse performance (eg: 20+ plugins activated), I imagine it would require more delay.
I think as an alternative to refactoring, we could also just copy & paste all the relevant resolver resolution status which should be reliable enough
Thanks for testing this! 👍
In this case, I would prefer refactoring because if we copy & paste the logic then we need to ensure when we change one side, we must change another. Otherwise, it would break this again. |
9ad0aaa to
33b284e
Compare
4371be5 to
1762b61
Compare
|
@ilyasfoo I just found out that there is a simple way to fix this. 😃 We can put |
ilyasfoo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, @chihsuan! This tested well, LGTM! 🚢
|
Hi @chihsuan, thanks for merging this pull request. Please take a look at these follow-up tasks you may need to perform:
|
All Submissions:
Changes proposed in this Pull Request:
Closes #34194.
This PR fixes the wrong step info of the shipping tour.
Before:
After
How to test the changes in this Pull Request:
Case 1: The store sells physical products and is located in the US, but JP and WCS are not installed.
Case 2: The store sells physical products, has JP and WCS installed and connected, and is located in the US.
Other information:
pnpm changelog add --filter=<project>?FOR PR REVIEWER ONLY: