Skip to content

Commit

Permalink
Rename "General" section to "Status".
Browse files Browse the repository at this point in the history
  • Loading branch information
ZebulanStanphill committed Oct 21, 2020
1 parent 19c8e23 commit fffb561
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/e2e-tests/specs/editor/various/sidebar.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ describe( 'Sidebar', () => {
await enableFocusLossObservation();
await openDocumentSettingsSidebar();

expect( await findSidebarPanelWithTitle( 'General' ) ).toBeDefined();
expect( await findSidebarPanelWithTitle( 'Status' ) ).toBeDefined();
expect(
await findSidebarPanelWithTitle( 'Visibility:' )
).toBeDefined();
Expand Down Expand Up @@ -164,7 +164,7 @@ describe( 'Sidebar', () => {
return `//div[contains(@class, "edit-post-sidebar")]//button[contains(@class, "components-panel__body-toggle") and contains(text(),"${ panelTitle }")]`;
};

expect( await page.$x( getPanelToggleSelector( 'General' ) ) ).toEqual(
expect( await page.$x( getPanelToggleSelector( 'Status' ) ) ).toEqual(
[]
);
expect(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function PostStatus( { isOpened, onTogglePanel } ) {
return (
<PanelBody
className="edit-post-post-status"
title={ __( 'General' ) }
title={ __( 'Status' ) }
opened={ isOpened }
onToggle={ onTogglePanel }
>
Expand Down

0 comments on commit fffb561

Please sign in to comment.