Skip to content

Commit

Permalink
Add missing PanelBody title for the columns block inspector (#58452)
Browse files Browse the repository at this point in the history
* Add missing PanelBody title

* Update block-hierarchy-navigation.spec.js

Co-authored-by: richtabor <richtabor@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
  • Loading branch information
3 people committed Feb 5, 2024
1 parent a432f66 commit 8174ba1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/block-library/src/columns/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function ColumnsEditContainer( {
/>
</BlockControls>
<InspectorControls>
<PanelBody>
<PanelBody title={ __( 'Settings' ) }>
{ canInsertColumnBlock && (
<>
<RangeControl
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ test.describe( 'Navigating the block hierarchy', () => {
await pageUtils.pressKeys( 'ctrl+`' );

// Navigate to the block settings sidebar and tweak the column count.
await pageUtils.pressKeys( 'Tab', { times: 4 } );
await pageUtils.pressKeys( 'Tab', { times: 5 } );
await expect(
page.getByRole( 'slider', { name: 'Columns' } )
).toBeFocused();
Expand Down

1 comment on commit 8174ba1

@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 8174ba1.
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/7789716476
📝 Reported issues:

Please sign in to comment.