-
Notifications
You must be signed in to change notification settings - Fork 10.7k
Allow plugins_page_skipped parameter in Onboarding API endpoint
#38764
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
Allow plugins_page_skipped parameter in Onboarding API endpoint
#38764
Conversation
|
Hi @moon0326, @adrianduffell, Apart from reviewing the code changes, please make sure to review the testing instructions as well. You can follow this guide to find out what good testing instructions should look like: |
| 'readonly' => true, | ||
| 'validate_callback' => 'rest_validate_request_arg', | ||
| ), | ||
| 'plugins_page_skipped' => array( |
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.
| 'plugins_page_skipped' => array( | |
| 'is_plugins_page_skipped' => array( |
Nit: the other boolean params have an is_ prefix
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.
Good call! Renamed it in 2486c2b
Test Results SummaryCommit SHA: 461d732
To view the full API test report, click here. To view the full E2E test report, click here. To view all test reports, visit the WooCommerce Test Reports Dashboard. |
|
@ilyasfoo Looks like there's a test that needs an updated assertion: |
adrianduffell
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.
Tested well for me and looks good! Thanks @ilyasfoo 🚀
I left a nit and also it looks like a minor change is needed for a test to pass
|
Thanks, Adrian! Merging since I'm confident with 1 review. |
Changes proposed in this Pull Request:
Closes #38659.
How to test the changes in this Pull Request:
Skip this stepTools > WCA Test Helperwoocommerce_onboarding_profileEditplugins_page_skipped:trueexists