Skip to content

Commit

Permalink
Remove obsolete failing test for Font Size Picker (#47913)
Browse files Browse the repository at this point in the history
  • Loading branch information
ntsekouras authored Feb 9, 2023
1 parent 4885b31 commit 5448316
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions test/e2e/specs/editor/various/font-size-picker.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,27 +19,6 @@ test.describe( 'Font Size Picker', () => {
} );

test.describe( 'Common', () => {
test( 'should apply a named font size using the font size input', async ( {
editor,
page,
} ) => {
await editor.openDocumentSettingsSidebar();
await page.click( 'role=button[name="Add default block"i]' );
await page.keyboard.type( 'Paragraph to be made "small"' );
await page.click(
'role=region[name="Editor settings"i] >> role=button[name="Set custom size"i]'
);
await page.click( 'role=spinbutton[name="Custom"i]' );

// This should be the "small" font-size of the editor defaults.
await page.keyboard.type( '13' );

await expect.poll( editor.getEditedPostContent )
.toBe( `<!-- wp:paragraph {"fontSize":"small"} -->
<p class="has-small-font-size">Paragraph to be made "small"</p>
<!-- /wp:paragraph -->` );
} );

test( 'should apply a custom font size using the font size input', async ( {
editor,
page,
Expand Down

1 comment on commit 5448316

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in 5448316.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4133194415
📝 Reported issues:

Please sign in to comment.