mirror of
https://github.com/filamentphp/filament.git
synced 2026-08-28 18:53:05 +08:00
flaky screenshots
This commit is contained in:
BIN
Binary file not shown.
|
Before Width: | Height: | Size: 114 KiB After Width: | Height: | Size: 112 KiB |
@@ -1749,6 +1749,10 @@ export default {
|
||||
|
||||
// Click the custom blocks toolbar button to open the side panel.
|
||||
await page.click('#richEditorGroupedCustomBlocks button[aria-label="Blocks"]')
|
||||
|
||||
// Move the mouse away so the button's "Blocks" tooltip cannot
|
||||
// appear in the screenshot depending on hover timing.
|
||||
await page.mouse.move(0, 0)
|
||||
await new Promise((resolve) => setTimeout(resolve, 500))
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user