Fix undo-redo.cy.js flakyness
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3585992. -->
Reported by: [penyaskito](https://www.drupal.org/user/959536)
Related to !947
>>>
<h3 id="overview">Overview</h3>
<p><code>undo-redo.cy.js</code> is flaky</p>
<h3 id="proposed-resolution">Proposed resolution</h3>
<p>Fix it.</p>
<h3 id="ui-changes">User interface changes</h3>
<p>None</p>
issue