Skip to content

Commit

Permalink
Remove obsolete failing test for Font Size Picker
Browse files Browse the repository at this point in the history
  • Loading branch information
ntsekouras committed Feb 9, 2023
1 parent 300a608 commit 467f977
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

0 comments on commit 467f977

Please sign in to comment.