From fae113b799f7d5d960ce9f2731260662bca8a4c3 Mon Sep 17 00:00:00 2001 From: James Date: Thu, 3 Apr 2025 17:06:35 -0400 Subject: [PATCH] chore: fix flake --- test/fields/collections/Blocks/e2e.spec.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/fields/collections/Blocks/e2e.spec.ts b/test/fields/collections/Blocks/e2e.spec.ts index 449a3a39a2..28f571344b 100644 --- a/test/fields/collections/Blocks/e2e.spec.ts +++ b/test/fields/collections/Blocks/e2e.spec.ts @@ -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',