Skip to content

Commit

Permalink
Fix flaky create new pattern test (#57747)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin940726 authored Jan 12, 2024
1 parent 2be3711 commit 0e48342
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions test/e2e/specs/site-editor/patterns.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 0e48342

Please sign in to comment.