mirror of
https://github.com/nasa/openmct.git
synced 2025-01-31 08:25:31 +00:00
Disable reload in preview (#7639)
disable reload in preview Co-authored-by: Jesse Mazzella <ozyx@users.noreply.github.com>
This commit is contained in:
parent
539138437b
commit
986da5782b
@ -122,4 +122,14 @@ test.describe('Reload action', () => {
|
||||
expect(fullReloadAlphaTelemetryValue).not.toEqual(afterReloadAlphaTelemetryValue);
|
||||
expect(fullReloadBetaTelemetryValue).not.toEqual(afterReloadBetaTelemetryValue);
|
||||
});
|
||||
|
||||
test('is disabled in Previews', async ({ page }) => {
|
||||
test.info().annotations.push({
|
||||
type: 'issue',
|
||||
description: 'https://github.com/nasa/openmct/issues/7638'
|
||||
});
|
||||
await page.getByLabel('Alpha Table Frame Controls').getByLabel('Large View').click();
|
||||
await page.getByLabel('Modal Overlay').getByLabel('More actions').click();
|
||||
await expect(page.getByLabel('Reload')).toBeHidden();
|
||||
});
|
||||
});
|
||||
|
@ -64,7 +64,7 @@ import NotebookMenuSwitcher from '@/plugins/notebook/components/NotebookMenuSwit
|
||||
|
||||
import ViewSwitcher from '../layout/ViewSwitcher.vue';
|
||||
|
||||
const HIDDEN_ACTIONS = ['remove', 'move', 'preview', 'large.view'];
|
||||
const HIDDEN_ACTIONS = ['remove', 'move', 'preview', 'large.view', 'reload'];
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user