Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
|
||
| // Save the reusable block and update the post. | ||
| await editorTopBar.getByRole( 'button', { name: 'Save' } ).click(); | ||
| const entitiesSaveButton = this.page |
There was a problem hiding this comment.
Should this be page instead of this.page?
There was a problem hiding this comment.
Good catch, leftover from copy-pasta 🍝
andrewserong
left a comment
There was a problem hiding this comment.
Odd that the categories are popping up there, but I like this approach, seems like a pragmatic fix to ensure this test is resilient to the multi-entity saving flow 👍
LGTM if they pass!
I am not sure either, but it seems likely. I also cannot reproduce locally, ever. We intend to disable RTC by default in the morning in WordPress#trunk, after which this test should start passing again. Then we can take a closer look with less urgency. I'd like to understand the root cause with confidence. |
|
I inspected the requests that come with the trace. I don't see anything that modifies the category. Users can't edit term records in the editor, which means I can't even reproduce the exact case manually if I wanted to. I think this signals that the problem is coming from somewhere else. |
|
Size Change: 0 B Total Size: 6.84 MB ℹ️ View Unchanged
|
|
@ellatrix, it looks like automatic cherry-picking didn't work. Action didn't report any failures; I'm not sure what happened. |
|
That's fine, we don't need it anymore :) |
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org> Co-authored-by: andrewserong <andrewserong@git.wordpress.org> Co-authored-by: chriszarate <czarate@git.wordpress.org>
What?
PR tries to fix the failing patterns test. Based on trace artifacts, the test now includes a multi-entity saving flow that it didn't account for.
A post category is also modified, which causes the flow change. I'm not sure if it's related to RTC being enabled by default, and I'm having trouble reproducing it locally. cc @chriszarate
Testing Instructions
Screenshot