diff --git a/src/services/resultsPanelProvider.ts b/src/services/resultsPanelProvider.ts index 8fbe9459..ab7d1058 100644 --- a/src/services/resultsPanelProvider.ts +++ b/src/services/resultsPanelProvider.ts @@ -36,7 +36,7 @@ export class KdbResultsViewProvider implements WebviewViewProvider { this._colorTheme = window.activeColorTheme; this.updateResults(this._results); }); - // this.resolveWebviewView(webviewView); + ext.isResultsTabVisible = true; } /* istanbul ignore next */ diff --git a/test/suite/commands.test.ts b/test/suite/commands.test.ts index 317ca974..fbd7ed44 100644 --- a/test/suite/commands.test.ts +++ b/test/suite/commands.test.ts @@ -689,7 +689,7 @@ describe("dataSourceCommand2", () => { dummyFileContent.dataSource.selectedType = DataSourceTypes.API; getMetaStub.resolves(dummyMeta); getDataInsightsStub.resolves({ arrayBuffer: ab, error: "" }); - isVisibleStub.returns(false); + ext.isResultsTabVisible = false; await dataSourceCommand.runDataSource( dummyFileContent as DataSourceFiles, insightsConn.connLabel, @@ -708,7 +708,7 @@ describe("dataSourceCommand2", () => { dummyFileContent.dataSource.selectedType = DataSourceTypes.SQL; getMetaStub.resolves(dummyMeta); getDataInsightsStub.resolves({ arrayBuffer: ab, error: "" }); - isVisibleStub.returns(false); + ext.isResultsTabVisible = false; await dataSourceCommand.runDataSource( dummyFileContent as DataSourceFiles, insightsConn.connLabel,