From 0e48342278e3991f474759e2a537b3ad15d58b37 Mon Sep 17 00:00:00 2001 From: Kai Hao Date: Sat, 13 Jan 2024 01:50:38 +0800 Subject: [PATCH] Fix flaky create new pattern test (#57747) --- test/e2e/specs/site-editor/patterns.spec.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/test/e2e/specs/site-editor/patterns.spec.js b/test/e2e/specs/site-editor/patterns.spec.js index 79bd8b782ecc4..e4fffe14fcc9a 100644 --- a/test/e2e/specs/site-editor/patterns.spec.js +++ b/test/e2e/specs/site-editor/patterns.spec.js @@ -70,9 +70,6 @@ test.describe( 'Patterns', () => { .getByRole( 'textbox', { name: 'Name' } ) .fill( 'My pattern' ); await page.keyboard.press( 'Enter' ); - await expect( - createPatternDialog.getByRole( 'button', { name: 'Create' } ) - ).toBeDisabled(); await expect( page ).toHaveTitle( /^My pattern/ ); await expect(