-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Tests: Enable post type UI for templates and template parts #38486
Conversation
@kevin940726 and @talldan, what do you think about adopting the REST API method for template deletion? |
If you're using VS code there is this one: https://marketplace.visualstudio.com/items?itemName=ValeryanM.vscode-phpsab |
I think we should do that instead of the filter, yes. |
I've got a very WIP version of the REST API solution. Decide to push this fix variation since failing e2e usually blocks people's work. |
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.
Let's land to unblock, but have quick follow ups with REST api calls. Thanks George!
Sounds good 👍 I will try to finish REST API PR tomorrow. |
* Tests: Enable post type UI for templates and template parts * Only enable UI for block themes
* Release script: Update react-native-editor version to 1.71.0 * Release script: Update with changes from 'npm run core preios' * Updare CHANGELOG to reflect changes in 1.71.0 * Tests: Enable post type UI for templates and template parts (#38486) * Tests: Enable post type UI for templates and template parts * Only enable UI for block themes * Mobile - Rich Text - Validate link colors (#38474) * Mobile - Rich Text - Validate link colors * Mobile - Rich Text - Update naming to match prop Co-authored-by: George Mamadashvili <[email protected]> Co-authored-by: Gerardo Pacheco <[email protected]> Co-authored-by: Matt Chowning <[email protected]>
* Release script: Update react-native-editor version to 1.71.0 * Release script: Update with changes from 'npm run core preios' * Updare CHANGELOG to reflect changes in 1.71.0 * Tests: Enable post type UI for templates and template parts (#38486) * Tests: Enable post type UI for templates and template parts * Only enable UI for block themes * Mobile - Rich Text - Validate link colors (#38474) * Mobile - Rich Text - Validate link colors * Mobile - Rich Text - Update naming to match prop * Release script: Update react-native-editor version to 1.71.1 * Release script: Update with changes from 'npm run core preios' * [RNMobile] Highlight text: Check if style attribute value is defined during filtering (#38670) * Check if style value is defined before removing extra spaces * Add test case for old text color format * Update react-native-editor changelog * Update CHANGELOG with 1.71.1 changes * Fix incorrect CHANGELOG entry from previous commit Co-authored-by: Siobhan <[email protected]> Co-authored-by: George Mamadashvili <[email protected]> Co-authored-by: Gerardo Pacheco <[email protected]> Co-authored-by: Carlos Garcia <[email protected]>
* Tests: Enable post type UI for templates and template parts * Only enable UI for block themes
Cherry-picked this commit to |
Description
Core fully disabled UI for Templates and Template Parts post types. It caused e2e test failures since we still rely on UI to delete them.
PR adds
mu-plugin
to override post-registration arguments and enable UI for e2e tests. However, this is a short-term solution. I think we should use REST API to delete templates, similar to #33414.Testing Instructions
All tests should pass.
Types of changes
Bugfix
Checklist:
*.native.js
files for terms that need renaming or removal).