diff --git a/cypress/e2e/5-ndv.cy.ts b/cypress/e2e/5-ndv.cy.ts index 436e11f855..c001dd764e 100644 --- a/cypress/e2e/5-ndv.cy.ts +++ b/cypress/e2e/5-ndv.cy.ts @@ -704,11 +704,11 @@ describe('NDV', () => { ndv.getters.outputTableRow(1).find('mark').should('have.text', ' { ); ndv.getters.outputDataContainer().find('mark').should('have.text', ' { const defaults: Array<{ label: string; value: IRunDataDisplayMode }> = [ + { label: i18n.baseText('runData.schema'), value: 'schema' }, { label: i18n.baseText('runData.table'), value: 'table' }, { label: i18n.baseText('runData.json'), value: 'json' }, ]; @@ -259,13 +260,6 @@ const displayModes = computed(() => { defaults.push({ label: i18n.baseText('runData.binary'), value: 'binary' }); } - const schemaView = { label: i18n.baseText('runData.schema'), value: 'schema' } as const; - if (isPaneTypeInput.value) { - defaults.unshift(schemaView); - } else { - defaults.push(schemaView); - } - if ( isPaneTypeOutput.value && activeNode.value?.type === HTML_NODE_TYPE &&