Skip to content

Commit

Permalink
Feedback changes
Browse files Browse the repository at this point in the history
  • Loading branch information
karthick-murugan committed Jan 24, 2025
1 parent 56abbce commit 663cb85
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/quote/theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
border: none;
padding-left: 0;
}
// .is-style-large and .is-large are kept for backwards compatibility.
// .is-style-plain, .is-style-large and .is-large are kept for backwards compatibility.
// They are not wrapped in `:where()` to keep specificity as it was before
// they were deprecated.
&:where(.is-style-plain),
Expand Down
9 changes: 9 additions & 0 deletions test/e2e/specs/editor/various/patterns.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -600,6 +600,15 @@ test.describe( 'Synced pattern', () => {
editor.canvas.getByRole( 'document', { name: 'Block: Quote' } )
);

// The quote block should have a visible preview in the sidebar for this test to be valid.
await expect(
page
.getByRole( 'region', { name: 'Editor settings' } )
.getByRole( 'button', { name: 'Styles', exact: true } )
).toBeVisible();

await page.click( 'role=menuitem[name="Plain Style"i]' ); // Update the selector based on UI changes.

await editor.clickBlockOptionsMenuItem( 'Create pattern' );

const createPatternDialog = editor.page.getByRole( 'dialog', {
Expand Down

0 comments on commit 663cb85

Please sign in to comment.