Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove obsolete failing test for Font Size Picker #47913

Merged
merged 1 commit into from
Feb 9, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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