Skip to content

[WP 7.2] Backport fixes for Beta 5 - #86559

Merged
Mamaduka merged 8 commits into
wp/7.2from
backport/wp-7.2-cherry-picks-beta5
Nov 10, 2026
Merged

Mamaduka merged 8 commits into
wp/7.2from
backport/wp-7.2-cherry-picks-beta5

Conversation

@Mamaduka

@Mamaduka Mamaduka commented Nov 10, 2026 •

Copy link
Copy Markdown
Member

What?

Cherry-picks the six merged PRs labeled Backport to WP 7.2 Beta/RC onto wp/7.2 for 7.2 Beta 5, plus #86511 and #85461, which fix the failing e2e and iOS checks on wp/7.2:

#86298 also carries the label, but it is already on wp/7.2 via #86463.

How?

Commits are picked in merge order, with #86511 and #85461 added last. Most conflicts were in CHANGELOG.md files, resolved by keeping each backported PR's own entry and leaving out unrelated trunk entries. Three code conflicts:

Testing Instructions

Follow the testing instructions in each original PR.

Testing Instructions for Keyboard

Same as the original PRs.

Use of AI Tools

Claude Code did the cherry-picks and resolved the conflicts; I reviewed the result.

desrosj and others added 7 commits November 10, 2026 11:17
Co-authored-by: desrosj <desrosj@git.wordpress.org>
Co-authored-by: lucatume <lucatume@git.wordpress.org>
"Copy error" reads as either an action or a noun phrase, and several
locales translated it as "copy failed" (es_ES, es_CO, es_CL, gl_ES,
ro_RO). Use _x() so translators know it is a button that copies the
error message.

---------

Co-authored-by: ariel-maidana <arielmaidana@git.wordpress.org>
Co-authored-by: simison <simison@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
* Remove iframe handling from UI

* Editor canvas: bubble popup-close related events to parent iframe

* Update changelog entries

* Remove obsolete iframe close unit tests

* Stop propagating portaled syntetic events

* e2e test for closing tag popup with canvas click

* Extract constructor from event prototype

* e2e test for closing editor options menu

* Fix double React handler invocation

* bubbleEvent: copy only selected fields on event clone

* Move cloneEvent to a separate module

* Add unit test for frame event bubbling

* Guard for presence of getModifierState

Co-authored-by: jsnajdr <jsnajdr@git.wordpress.org>
Co-authored-by: mirka <0mirka00@git.wordpress.org>
Co-authored-by: ciampo <mciampini@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
* UI: Use shared loading indicators in popup consumers

* Docs: Link loading indicator changelogs to PR

* Docs: Clarify loading indicator changelog entries

Co-authored-by: mirka <0mirka00@git.wordpress.org>
Co-authored-by: ciampo <mciampini@git.wordpress.org>
)

Co-authored-by: mattcowan <matthewneilcowan@git.wordpress.org>
Co-authored-by: ellatrix <ellatrix@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
#86327)

Co-authored-by: jeryj <jeryj@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
Co-authored-by: mikachan <mikachan@git.wordpress.org>
Co-authored-by: courtneyr-dev <courane01@git.wordpress.org>
Core r65343 empties data-wp-html elements bound to context, since a
context value is never a token on the server. Read the synced context
value through a state getter so the server still renders the HTML.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

---

Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
Co-authored-by: ciampo <mciampini@git.wordpress.org>
@Mamaduka
Mamaduka requested review from a team and desrosj as code owners November 10, 2026 07:28
@Mamaduka Mamaduka added the [Type] Task Issues or PRs that have been broken down into an individual action to take label Nov 10, 2026
@github-actions github-actions Bot added [Package] Core data /packages/core-data [Package] Editor /packages/editor [Package] Block library /packages/block-library [Package] Notices /packages/notices [Package] Block editor /packages/block-editor [Package] Edit Widgets /packages/edit-widgets [Package] E2E Tests /packages/e2e-tests [Package] UI /packages/ui [Package] Boot /packages/boot labels Nov 10, 2026
@github-actions

github-actions Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

🤖 PR meta 🤖

Preview in WordPress Playground Preview in Storybook

🎉 Props

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: desrosj <desrosj@git.wordpress.org>
Co-authored-by: ariel-maidana <arielmaidana@git.wordpress.org>
Co-authored-by: simison <simison@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
Co-authored-by: jsnajdr <jsnajdr@git.wordpress.org>
Co-authored-by: mirka <0mirka00@git.wordpress.org>
Co-authored-by: ciampo <mciampini@git.wordpress.org>
Co-authored-by: mattcowan <matthewneilcowan@git.wordpress.org>
Co-authored-by: ellatrix <ellatrix@git.wordpress.org>
Co-authored-by: jeryj <jeryj@git.wordpress.org>
Co-authored-by: mikachan <mikachan@git.wordpress.org>
Co-authored-by: courane01 <courane01@git.wordpress.org>
Co-authored-by: lucatume <lucatume@git.wordpress.org>
Co-authored-by: t-hamano <wildworks@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.


Props Bot commands

You can trigger Props Bot actions by commenting on this PR:

  • @propsbot add <username> to give props to a GitHub user. Requires write access.
  • @propsbot remove <username> to leave a user out of the props. Requires write access.
  • @propsbot refresh to refresh this list. Adding the props-bot label works too.

Updated as activity occurs, without notifying anyone named here. Add the props-bot label to refresh.

📦 Bundle size

Size Change: -3.61 kB (-0.04%)

Total Size: 9.08 MB

📦 View Changed
Filename Size Change
build/modules/boot/index.min.js 57.9 kB +11 B (+0.02%)
build/scripts/block-editor/index.min.js 604 kB -458 B (-0.08%)
build/scripts/block-library/index.min.js 443 kB +2 B (0%)
build/scripts/components/index.min.js 370 kB -854 B (-0.23%)
build/scripts/core-data/index.min.js 79.3 kB +36 B (+0.05%)
build/scripts/customize-widgets/index.min.js 60.4 kB +13 B (+0.02%)
build/scripts/edit-site/index.min.js 421 kB -575 B (-0.14%)
build/scripts/edit-widgets/index.min.js 67.3 kB +12 B (+0.02%)
build/scripts/editor/index.min.js 620 kB -937 B (-0.15%)
build/scripts/media-utils/index.min.js 261 kB -873 B (-0.33%)
build/scripts/notices/index.min.js 52.7 kB +9 B (+0.02%)

db3b67a Run

⚡ Performance

Show the results

Client side metrics exclude the server response time.

front-end-block-theme

Metric 8d82d94 wp/7.2 % Change
timeToFirstByte 42.75 ms +8.3% -3.39% 43.5 ms +12.07% -4.48% -1.72%
largestContentfulPaint 76 ms +5.26% -7.89% 70 ms +14.29% -2.86% 8.57%
lcpMinusTtfb 33.4 ms +4.49% -22.16% 26.7 ms +4.49% -3.75% 25.09%
wpBeforeTemplate 22.3 ms +13.09% -3.23% 22.48 ms +16.41% -3.43% -0.8%
wpTemplate 16.85 ms +3.68% -3.26% 16.92 ms +3.07% -5.32% -0.41%
wpTotal 39.36 ms +8.74% -3.43% 40.24 ms +10.79% -4.67% -2.19%
wpMemoryUsage 7.71 MB +0% -0% 7.68 MB +0% -0% 0.41%
wpDbQueries 16 +0% -0% 16 +0% -0% 0%

front-end-classic-theme

Metric 8d82d94 wp/7.2 % Change
timeToFirstByte 34.55 ms +4.63% -1.88% 35.35 ms +4.67% -1.56% -2.26%
largestContentfulPaint 80 ms +0% -5% 78 ms +2.56% -2.56% 2.56%
lcpMinusTtfb 42.9 ms +3.5% -1.86% 42.25 ms +4.73% -2.49% 1.54%
wpBeforeTemplate 19 ms +5.32% -1.58% 19.05 ms +11.02% -0.94% -0.26%
wpTemplate 12.75 ms +5.73% -3.45% 13.24 ms +2.19% -3.17% -3.7%
wpTotal 31.99 ms +4.81% -2% 32.58 ms +5.19% -1.53% -1.81%
wpMemoryUsage 6.40 MB +0% -0% 6.37 MB +0% -0% 0.51%
wpDbQueries 13 +0% -0% 13 +0% -0% 0%

media-processing

Metric 8d82d94 wp/7.2 % Change
mediaProcessingJpeg 323.07 ms +0.3% -0.07% 320.6 ms +1.34% -0.3% 0.77%
mediaProcessingAvif 4827.93 ms +0.21% -0.3% 4854.27 ms +0.27% -0.1% -0.54%
mediaProcessingJpegToAvif 3366.93 ms +0.3% -0.17% 3392.73 ms +0.09% -0.42% -0.76%

media-upload

Metric 8d82d94 wp/7.2 % Change
jpegUploadProcessing 1421.21 ms +1.17% -0.75% 1415.98 ms +0.51% -0.33% 0.37%
pngUploadProcessing 215.26 ms +1.38% -23.18% 213.67 ms +12.24% -5.97% 0.74%
largeJpegUploadProcessing 1419.24 ms +0.97% -0.98% 1415.43 ms +0.92% -1.8% 0.27%
multipleImageUploadProcessing 1519.58 ms +0.45% -0.4% 1507.45 ms +2.34% -0.53% 0.8%

post-editor

Metric 8d82d94 wp/7.2 % Change
serverResponse 278.72 ms +13.87% -0.51% 278.14 ms +6.55% -3.34% 0.21%
firstPaint 306.41 ms +29.01% -43.6% 264.69 ms +35.28% -34.37% 15.76%
domContentLoaded 867.35 ms +4.11% -3.33% 795.34 ms +2.83% -5.1% 9.05%
loaded 868.47 ms +4.09% -3.3% 796.2 ms +2.81% -5.1% 9.08%
firstContentfulPaint 404.47 ms +1.86% -2.27% 370.05 ms +4.22% -3.23% 9.3%
firstBlock 2610.99 ms +2.77% -3.52% 2441.62 ms +1.03% -1.26% 6.94%
type 17.41 ms +8.04% -1.84% 14.53 ms +4.06% -4.82% 19.82%
typeWithoutInspector 15.42 ms +3.18% -5.19% 15.25 ms +4.33% -1.84% 1.11%
typeWithTopToolbar 19.88 ms +0.86% -1.66% 19.78 ms +9.05% -4.7% 0.51%
typeContainer 7.48 ms +9.49% -3.34% 6.91 ms +10.13% -9.7% 8.25%
focus 93.21 ms +2.29% -4.61% 90.58 ms +2.85% -5.77% 2.9%
firstFocus 179.87 ms +0% -0% 165.9 ms +0% -0% 8.42%
selectAll 394.6 ms +1.33% -0.13% 401.69 ms +2.64% -3.35% -1.77%
listViewOpen 58.24 ms +6.37% -4.79% 54.95 ms +12.3% -8.86% 5.99%
inserterOpen 29.06 ms +7.3% -4.68% 29.16 ms +6.21% -5.9% -0.34%
inserterHover 9.57 ms +6.79% -5.33% 9.52 ms +5.25% -6.51% 0.53%
inserterSearch 7.23 ms +12.03% -1.66% 7.39 ms +1.08% -8.25% -2.17%
loadPatterns 473.98 ms +6.45% -5.15% 478.02 ms +3.6% -4.25% -0.85%
wpTotal 271.17 ms +14.2% -0.59% 270.73 ms +6.75% -3.56% 0.16%
wpMemoryUsage 14.76 MB +0% -0% 14.73 MB +0% -0% 0.23%
wpDbQueries 55 +0% -0% 55 +0% -0% 0%

site-editor

Metric 8d82d94 wp/7.2 % Change
serverResponse 434.57 ms +1.64% -5.47% 415.67 ms +5.96% -2.89% 4.55%
firstPaint 245.46 ms +20.46% -11.33% 261.09 ms +6.71% -8.25% -5.99%
domContentLoaded 1215.86 ms +2.94% -0.56% 1218.11 ms +2.06% -1.3% -0.18%
loaded 1217.12 ms +2.92% -0.58% 1219.34 ms +2.04% -1.31% -0.18%
firstContentfulPaint 499.15 ms +3.23% -0.51% 508.77 ms +4.33% -6.55% -1.89%
firstBlock 4573.96 ms +0.57% -1.01% 4519.43 ms +0.22% -0.51% 1.21%
type 18.91 ms +5.08% -2.17% 18.89 ms +6.83% -2.49% 0.11%
navigate 134.3 ms +14.28% -6.95% 131.24 ms +6.94% -2.58% 2.33%
loadPatterns 1273.56 ms +4.9% -6% 1268.63 ms +6.04% -8.6% 0.39%
loadPages 1019.8 ms +2.21% -0.97% 1004.12 ms +2.91% -0.82% 1.56%
wpTotal 424.64 ms +1.53% -5.65% 405.65 ms +6.2% -3.03% 4.68%
wpMemoryUsage 12.79 MB +0% -0% 12.75 MB +0% -0% 0.27%
wpDbQueries 44 +2.27% -0% 44 +2.27% -0% 0%

db3b67a Run

🏁 Flaky tests

Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

Backspace in /test/e2e/specs/editor/blocks/list.spec.js, passed after 1 failed attempt.
Error: expect(received).toMatchObject(expected)

- Expected  -  5
+ Received  + 11

@@ -1,25 +1,31 @@
  Array [
    Object {
      "innerBlocks": Array [
        Object {
          "attributes": Object {
-           "content": "1",
+           "content": "1‸a",
          },
-         "innerBlocks": Array [
+         "innerBlocks": Array [],
+         "name": "core/list-item",
+       },
        Object {
+         "attributes": Object {
+           "content": "2",
+         },
          "innerBlocks": Array [
            Object {
              "attributes": Object {
-                   "content": "a‸2",
+               "ordered": false,
+               "values": "",
              },
-                 "name": "core/list-item",
-               },
+             "innerBlocks": Array [
                Object {
                  "attributes": Object {
                    "content": "b",
                  },
+                 "innerBlocks": Array [],
                  "name": "core/list-item",
                },
              ],
              "name": "core/list",
            },

Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:2041:42
Custom Completer: should allow newlines after multiple option completions in /test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js, passed after 1 failed attempt.
Error: expect(received).toBe(expected) // Object.is equality

- Expected  - 1
+ Received  + 1

@@ -1,7 +1,7 @@
  <!-- wp:paragraph -->
- <p>🫐 test</p>
+ <p>🍎 test</p>
  <!-- /wp:paragraph -->

  <!-- wp:paragraph -->
  <p>🫐 test</p>
  <!-- /wp:paragraph -->

Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js:466:6
Undo restores the post selection when another synced entity is loaded (RTC WebSocket) in /test/e2e/specs/editor/collaboration/collaboration-undo-redo.spec.ts, passed after 1 failed attempt.
Error: expect(received).toMatchObject(expected)

- Expected  - 2
+ Received  + 2

  Object {
    "attributeKey": "content",
    "blockIndex": 0,
    "content": "abcdef",
-   "endOffset": 3,
-   "offset": 3,
+   "endOffset": 6,
+   "offset": 6,
  }

Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/collaboration/collaboration-undo-redo.spec.ts:363:5
Undo restores the post selection when another synced entity is loaded in /test/e2e/specs/editor/collaboration/collaboration-undo-redo.spec.ts, passed after 1 failed attempt.
Error: expect(received).toMatchObject(expected)

- Expected  - 2
+ Received  + 2

  Object {
    "attributeKey": "content",
    "blockIndex": 0,
    "content": "abcdef",
-   "endOffset": 3,
-   "offset": 3,
+   "endOffset": 2,
+   "offset": 2,
  }

Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/collaboration/collaboration-undo-redo.spec.ts:363:5
User Mention: should cancel mention selection via `Escape` keypress event in /test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js, passed after 2 failed attempts.
Error: apiRequestContext.fetch: socket hang up
Call log:
  - → DELETE http://localhost:8889/wp-json/wp/v2/users/19?force=true&reassign=1
    - user-agent: Playwright/1.63.0 (x64; ubuntu 24.04) node/24.20 CI/1
    - accept: */*
    - accept-encoding: gzip,deflate,br
    - X-WP-Nonce: 0127332a0c
    - cookie: wordpress_test_cookie=WP%20Cookie%20check; wordpress_logged_in_23778236db82f19306f247e20a353a99=admin%7C1794472704%7CLC2QDvSMg4zQn152QINw2WUW8vawIPkplYFEmbVAydD%7Cb349ce466a36d2e58bffd7074cbfb380418274bc948ff7bc97ac755d6ef14493; wp-settings-time-1=1794300280; wp-settings-1=editor%3Dtinymce

    at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:111:39)
    at RequestUtils.deleteUser (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/users.ts:91:30)
    at map (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/users.ts:116:51)
    at RequestUtils.deleteAllUsers (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/users.ts:116:5)
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js:73:3

should cut and paste individual blocks with collapsed selection in /test/e2e/specs/editor/various/copy-cut-paste.spec.js, passed after 1 failed attempt.
Error: expect(string).toMatchSnapshot(expected) failed

  @@ -1,3 +1,3 @@
   <!-- wp:paragraph -->
  -<p>2Cut - collapsed selection</p>
  +<p>2</p>
   <!-- /wp:paragraph -->


    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/copy-cut-paste.spec.js:45:49
should format text across blocks in /test/e2e/specs/editor/various/multi-block-selection.spec.js, passed after 1 failed attempt.
Error: expect(received).toMatchObject(expected)

- Expected  - 1
+ Received  + 1

@@ -1,9 +1,9 @@
  Array [
    Object {
      "attributes": Object {
-       "content": "ab",
+       "content": "b",
      },
      "name": "core/paragraph",
    },
    Object {
      "attributes": Object {

Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-block-selection.spec.js:2219:41
should indent and outdent multi-selected items with Tab in /test/e2e/specs/editor/blocks/list.spec.js, passed after 1 failed attempt.
Error: expect(received).toBe(expected) // Object.is equality

- Expected  - 1
+ Received  + 1

@@ -1,8 +1,8 @@
  <!-- wp:list -->
  <ul class="wp-block-list"><!-- wp:list-item -->
- <li>one<!-- wp:list -->
+ <li>ne<!-- wp:list -->
  <ul class="wp-block-list"><!-- wp:list-item -->
  <li>two</li>
  <!-- /wp:list-item -->

  <!-- wp:list-item -->

Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:1118:52
should indent with Space and outdent with Shift+Space at the start in /test/e2e/specs/editor/blocks/list.spec.js, passed after 1 failed attempt.
Error: expect(received).toBe(expected) // Object.is equality

- Expected  - 7
+ Received  + 7

  <!-- wp:list -->
  <ul class="wp-block-list"><!-- wp:list-item -->
- <li>a<!-- wp:list -->
- <ul class="wp-block-list"><!-- wp:list-item -->
- <li>b</li>
+ <li></li>
+ <!-- /wp:list-item --></ul>
- <!-- /wp:list-item --></ul>
+ <!-- /wp:list -->
+
- <!-- /wp:list --></li>
- <!-- /wp:list-item --></ul>
+ <!-- wp:paragraph -->
+ <p> b</p>
- <!-- /wp:list -->
+ <!-- /wp:paragraph -->

Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:875:52
should insert a line break on shift+enter in a non trailing list item in /test/e2e/specs/editor/blocks/list.spec.js, passed after 1 failed attempt.
Error: expect(received).toBe(expected) // Object.is equality

- Expected  - 4
+ Received  + 0

@@ -1,11 +1,7 @@
  <!-- wp:list -->
  <ul class="wp-block-list"><!-- wp:list-item -->
- <li>a</li>
- <!-- /wp:list-item -->
-
- <!-- wp:list-item -->
  <li>b<br></li>
  <!-- /wp:list-item -->

  <!-- wp:list-item -->
  <li>c</li>

Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:1233:52
should insert a line break on shift+enter in /test/e2e/specs/editor/blocks/list.spec.js, passed after 1 failed attempt.
Error: expect(received).toBe(expected) // Object.is equality

- Expected  - 1
+ Received  + 1

  <!-- wp:list -->
  <ul class="wp-block-list"><!-- wp:list-item -->
- <li>a<br></li>
+ <li><br></li>
  <!-- /wp:list-item --></ul>
  <!-- /wp:list -->

Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:1210:52
should leave nested list intact when deleting the parent item in /test/e2e/specs/editor/blocks/list.spec.js, passed after 1 failed attempt.
Error: expect(received).toMatchObject(expected)

- Expected  - 32
+ Received  +  1

- Array [
-   Object {
-     "innerBlocks": Array [
-       Object {
-         "attributes": Object {
-           "content": "1",
-         },
-         "innerBlocks": Array [
-           Object {
-             "innerBlocks": Array [
-               Object {
-                 "attributes": Object {
-                   "content": "a",
-                 },
-                 "name": "core/list-item",
-               },
-             ],
-             "name": "core/list",
-           },
-         ],
-         "name": "core/list-item",
-       },
-       Object {
-         "attributes": Object {
-           "content": "3",
-         },
-         "name": "core/list-item",
-       },
-     ],
-     "name": "core/list",
-   },
- ]
+ Array []
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:3017:38
should merge a following sibling list into the outermost list with Delete from a nested item (#77245) in /test/e2e/specs/editor/blocks/list.spec.js, passed after 1 failed attempt.
Error: expect(received).toMatchObject(expected)

- Expected  - 2
+ Received  + 2

@@ -8,11 +8,11 @@
          "innerBlocks": Array [
            Object {
              "innerBlocks": Array [
                Object {
                  "attributes": Object {
-                   "content": "b‸",
+                   "content": "b",
                  },
                  "name": "core/list-item",
                },
              ],
              "name": "core/list",
@@ -25,11 +25,11 @@
    },
    Object {
      "innerBlocks": Array [
        Object {
          "attributes": Object {
-           "content": "1",
+           "content": "‸1",
          },
          "innerBlocks": Array [
            Object {
              "innerBlocks": Array [
                Object {

Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:2854:41
should replace the selection across blocks with an inline image in /test/e2e/specs/editor/various/multi-block-selection.spec.js, passed after 1 failed attempt.
Error: expect(received).toMatchObject(expected)

- Expected  - 1
+ Received  + 1

@@ -1,9 +1,9 @@
  Array [
    Object {
      "attributes": Object {
-       "content": "ab",
+       "content": "b",
      },
      "name": "core/paragraph",
    },
    Object {
      "attributes": Object {

Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-block-selection.spec.js:2421:41
should select by dragging into nested block in /test/e2e/specs/editor/various/multi-block-selection.spec.js, passed after 1 failed attempt.
Error: expect(received).toEqual(expected) // deep equality

- Expected  - 1
+ Received  + 0

  Array [
    1,
-   2,
  ]

Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-block-selection.spec.js:568:5
should select by dragging into separator in /test/e2e/specs/editor/various/multi-block-selection.spec.js, passed after 1 failed attempt.
Error: expect(received).toEqual(expected) // deep equality

- Expected  - 1
+ Received  + 0

  Array [
    1,
-   2,
  ]

Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-block-selection.spec.js:2181:5
should split indented list item in /test/e2e/specs/editor/blocks/list.spec.js, passed after 1 failed attempt.
Error: expect(received).toBe(expected) // Object.is equality

- Expected  - 1
+ Received  + 1

@@ -1,8 +1,8 @@
  <!-- wp:list -->
  <ul class="wp-block-list"><!-- wp:list-item -->
- <li>one<!-- wp:list -->
+ <li>e<!-- wp:list -->
  <ul class="wp-block-list"><!-- wp:list-item -->
  <li>two</li>
  <!-- /wp:list-item -->

  <!-- wp:list-item -->

Truncated. See the full report.

db3b67a Run

@Mamaduka

Copy link
Copy Markdown
Member Author

iOS Tests are also failing on the wp/7.2 branch, so it's unrelated. I think this was resolved on trunk; I'll backport later.

@t-hamano t-hamano left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think everything has been cherry-picked correctly 👍

* iOS tests: De-flake the selection handle test

The selection handle test failed in about 9% of trunk runs of the iOS
Tests workflow, for three timing-dependent reasons:

- A fresh simulator covers the keyboard with the slide to type
  tutorial, which takes the double tap. run.sh now marks it as seen
  once the simulator has booted, as Chromium's iOS test runner does.
- The paragraph's frame was read while the keyboard and its accessory
  bar slid in, so the double tap could land on the accessory bar. The
  test now waits for the keyboard and for the frame to settle.
- The simulator sometimes drops the focusing tap. The test now taps
  again if focus does not show within 10 seconds.

The selection assertions are unchanged.

* iOS tests: Fall back to Select on a split double tap

The simulator sometimes delivers the double tap as two single taps,
which opens the Paste, Select, Select All menu instead of selecting
"Delta". Tap Select then, which selects the same word.

Focus often shows over 3 seconds after the tap, so the 3 second retry
could tap a paragraph that is about to focus. Retry only after 10
seconds, trunk's old focus timeout, so it fires only where trunk
would have failed.

* iOS tests: Tap again when focus comes without keyboard

Focus that shows long after the tap no longer counts as the tap's,
and WebKit then focuses the paragraph without the software keyboard.
The test went on and read the paragraph's frame before the keyboard
moved the canvas, then spent its double tap on bringing the keyboard
up, so no word was selected.

Tap once more when the keyboard does not show, and require it: CI
and the README both require a software keyboard.
@Mamaduka
Mamaduka merged commit 1b0dc90 into wp/7.2 Nov 10, 2026
78 checks passed
@Mamaduka
Mamaduka deleted the backport/wp-7.2-cherry-picks-beta5 branch November 10, 2026 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Package] Block editor /packages/block-editor [Package] Block library /packages/block-library [Package] Boot /packages/boot [Package] Core data /packages/core-data [Package] E2E Tests /packages/e2e-tests [Package] Edit Widgets /packages/edit-widgets [Package] Editor /packages/editor [Package] Notices /packages/notices [Package] UI /packages/ui [Type] Task Issues or PRs that have been broken down into an individual action to take

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants