File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ test('should render the menu items', async () => {
112
112
expect ( screen . getByText ( 'Refresh dashboard' ) ) . toBeInTheDocument ( ) ;
113
113
expect ( screen . getByText ( 'Set auto-refresh interval' ) ) . toBeInTheDocument ( ) ;
114
114
expect ( screen . getByText ( 'Download as image' ) ) . toBeInTheDocument ( ) ;
115
- expect ( screen . getByText ( 'Toggle fullscreen' ) ) . toBeInTheDocument ( ) ;
115
+ expect ( screen . getByText ( 'Enter fullscreen' ) ) . toBeInTheDocument ( ) ;
116
116
} ) ;
117
117
118
118
test ( 'should render the menu items in edit mode' , async ( ) => {
Original file line number Diff line number Diff line change @@ -307,7 +307,9 @@ class HeaderActionsDropdown extends React.PureComponent {
307
307
308
308
{ ! editMode && (
309
309
< Menu . Item key = { MENU_KEYS . TOGGLE_FULLSCREEN } >
310
- { t ( 'Toggle fullscreen' ) }
310
+ { getUrlParam ( URL_PARAMS . standalone )
311
+ ? t ( 'Exit fullscreen' )
312
+ : t ( 'Enter fullscreen' ) }
311
313
</ Menu . Item >
312
314
) }
313
315
</ Menu >
You can’t perform that action at this time.
0 commit comments