Skip to content

Commit 605f44a

Browse files
LukasTyclaude
andcommitted
[test] Move the DocSearch pointer fix to its own PR
The fix is now in #49122, so it can merge before this bump. This restores the test file to its master version. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1 parent 9b4a6c5 commit 605f44a

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

test/regressions/index.test.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -324,9 +324,6 @@ async function main() {
324324
// The modal portals to `document.body`, so it lands outside the
325325
// testcase element and has to be screenshotted on its own.
326326
await page.getByRole('button', { name: /search/i }).click();
327-
// The click leaves the pointer on the button. Move it to the top-right corner,
328-
// outside the modal at both widths, so that no hover state gets into a capture.
329-
await page.mouse.move(page.viewportSize().width - 1, 0);
330327
const modal = await page.waitForSelector('.DocSearch-Modal');
331328
// `useLazyCSS` fetches the DocSearch stylesheet and injects it as a
332329
// `<style data-href>`. Without it the modal is unstyled.

0 commit comments

Comments
 (0)