chore: fix flake

This commit is contained in:
James
2025-04-03 17:06:35 -04:00
parent e87521a376
commit fae113b799

View File

@@ -6,6 +6,7 @@ import { openBlocksDrawer } from 'helpers/e2e/openBlocksDrawer.js'
import { reorderBlocks } from 'helpers/e2e/reorderBlocks.js'
import { scrollEntirePage } from 'helpers/e2e/scrollEntirePage.js'
import path from 'path'
import { wait } from 'payload/shared'
import { fileURLToPath } from 'url'
import {
@@ -312,6 +313,8 @@ describe('Block fields', () => {
'Second block',
)
await wait(1000)
await reorderBlocks({
page,
fieldName: 'blocks',