Playwright does not scroll the monaco editor #54571
Labels
platform: learn
UI side of the client application that needs familiarity with React, Gatsby etc.
type: bug
Issues that need priority attention. Platform, Curriculum tests (if broken completely), etc.
Is your feature request related to a problem? Please describe.
Some tests that require interactions with elements inside the Monaco editor are failing.
It looks like Playwright fails to scroll to the targeted element if the element is outside of the viewport
Describe alternatives you've considered
The playwright logs show the following errors:
<div class="monaco-editor-background textAreaCover li…></div>
intercepts pointer eventsAdditional context
I was able to run the tests successfully by removing the textAreaCover element in the test by adding the following to the top of the tests:
The text was updated successfully, but these errors were encountered: