-
Notifications
You must be signed in to change notification settings - Fork 178
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
Shopping: Products JSON Schema Validation #11250
Conversation
f0142e4
to
bb56e22
Compare
Noting this was failing on WP 5.5 -- not sure if that's a plugin issue or something else happening. For now I have wrapped a WP latest check around the install. |
5e56f9f
to
8b7d7b0
Compare
8b7d7b0
to
0916a61
Compare
265f14f
to
08876dd
Compare
Hmm alright, then I didn‘t look close enough. Will re-check on Monday. |
@swissspidy I tested locally with your composer update commit merged back to this one it's s now working as expected (fails on the schema check string vs number) |
Okay and which schema check is exactly failing? Can we fix our code? I only see this error message:
|
Right for CI --- need to investigate why it's not finding that selector Locally for me I'm getting a schema error because product price is returning a string vs the schema is looking for a number. So yes that part can be fixed --- but maybe that fix should be in the product query PR? |
Works for me; just keep in mind that then the test needs to be disabled until that gets fixed. |
Size Change: +5 B (0%) Total Size: 2.6 MB ℹ️ View Unchanged
|
Plugin builds for 17ea300 are ready 🛎️!
|
@timarney Heads up! Currently working on some updates to help make the tests a bit less flakey. Please do not rebase/override my changes. |
All e2e tests seem to be passing now! 🎉 |
@spacedmonkey ping 👋 to review the latest version of this |
Context
In support of #11210 we need make the WoocCommerce plugin available with some sample products to query against to ensure a valid JSON schema is returned.
Summary
Relevant Technical Choices
To-do
User-facing changes
Testing Instructions
npm run env:start
This PR can be tested by following these steps:
npm run env:start
--- this should install WooCommerce + sample productsReviews
Does this PR have a security-related impact?
No
Does this PR change what data or activity we track or use?
No
Does this PR have a legal-related impact?
No
Checklist
Type: XYZ
label to the PRPartially addresses #11210