RC1 breaks Cypress Tests
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3324320. --> Reported by: [jurgenhaas](https://www.drupal.org/user/168924) Related to !201 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>Just updated Gin to RC1 - congrats to this great step Sascha - but unfortunately, we're getting some javascript observer exception in the browser which doesn't seem to do any harm normally, but Cypress fails with an exception I had never seen before: <code>Failed to execute 'observe' on 'IntersectionObserver': parameter 1 is not of type 'Element'.</code></p> <p>There is also the following stacktrace available:</p> <pre>This behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.<br>&nbsp;&nbsp;&nbsp; at &lt;unknown&gt; (https://www.example.com/themes/contrib/gin/dist/js/sticky.js?rm3ryk:10:12)<br>&nbsp;&nbsp;&nbsp; at Array.forEach (&lt;anonymous&gt;)<br>&nbsp;&nbsp;&nbsp; at Object.attach (https://www.example.com/themes/contrib/gin/dist/js/sticky.js?rm3ryk:4:78)<br>&nbsp;&nbsp;&nbsp; at &lt;unknown&gt; (https://www.example.com/core/misc/drupal.js?v=9.4.8:27:24)<br>&nbsp;&nbsp;&nbsp; at Array.forEach (&lt;anonymous&gt;)<br>&nbsp;&nbsp;&nbsp; at Drupal.attachBehaviors (https://www.example.com/core/misc/drupal.js?v=9.4.8:24:34)<br>&nbsp;&nbsp;&nbsp; at HTMLUListElement.&lt;anonymous&gt; (https://www.example.com/core/misc/ajax.js?v=9.4.8:569:20)<br>&nbsp;&nbsp;&nbsp; at Function.each (https://www.example.com/core/assets/vendor/jquery/jquery.min.js?v=3.6.0:2:3003)<br>&nbsp;&nbsp;&nbsp; at S.fn.init.each (https://www.example.com/core/assets/vendor/jquery/jquery.min.js?v=3.6.0:2:1481)<br>&nbsp;&nbsp;&nbsp; at Drupal.AjaxCommands.insert (https://www.example.com/core/misc/ajax.js?v=9.4.8:567:21)</pre><p>Downgrading to beta5 solves the problem. Not sure if the above information is enough to find the issue. If you need any more information, I'm happy to investigate.</p>
issue