From 8689834350555bff1108393be87ade77573b8650 Mon Sep 17 00:00:00 2001 From: Oleksii Korniienko Date: Mon, 22 Jun 2026 12:20:09 +0200 Subject: [PATCH 1/4] Replaced logger.info with .debug Signed-off-by: Oleksii Korniienko --- .../StartWorkspaceUsingDesktopEditors.spec.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/e2e/specs/dashboard-samples/StartWorkspaceUsingDesktopEditors.spec.ts b/tests/e2e/specs/dashboard-samples/StartWorkspaceUsingDesktopEditors.spec.ts index 2bf18cb08a6..5ae75457df4 100644 --- a/tests/e2e/specs/dashboard-samples/StartWorkspaceUsingDesktopEditors.spec.ts +++ b/tests/e2e/specs/dashboard-samples/StartWorkspaceUsingDesktopEditors.spec.ts @@ -42,13 +42,13 @@ suite('Check all editors with all samples', function (): void { if (selectAllEditors) { editorsForCheck = Array.from(ALL_EDITORS.values()); - Logger.info('SELECT_ALL_EDITORS is true - running tests for all editors'); + Logger.debug('SELECT_ALL_EDITORS is true - running tests for all editors'); } else { editorsForCheck = Array.from(ALL_EDITORS.values()).filter((editor): boolean => { const envValue: string | undefined = process.env[editor.environmentId]; return envValue === 'true'; }); - Logger.info(`Running tests for selected editors: ${editorsForCheck.map((e): string => e.name).join(', ')}`); + Logger.debug(`Running tests for selected editors: ${editorsForCheck.map((e): string => e.name).join(', ')}`); if (editorsForCheck.length === 0) { assert.fail('No editors selected via environment variables'); @@ -191,7 +191,7 @@ suite('Check all editors with all samples', function (): void { editorsForCheck.forEach((editor): void => { if (BASE_TEST_CONSTANTS.IS_CLUSTER_DISCONNECTED()) { - Logger.info('Test cluster is disconnected. Using url for airgap cluster.'); + Logger.debug('Test cluster is disconnected. Using url for airgap cluster.'); gitRepoUrlsToCheckAirgap.forEach((url): void => { test(`Test start of ${editor.name} with ubi url: ${url}`, async function (): Promise { await testWorkspaceStartup(editor.xpath, editor.type, url, true); @@ -207,7 +207,7 @@ suite('Check all editors with all samples', function (): void { }); teardown('Delete DevWorkspace', async function (): Promise { - Logger.info('Delete DevWorkspace. After each test.'); + Logger.debug('Delete DevWorkspace. After each test.'); if (currentTabHandle !== 'undefined') { await browserTabsUtil.switchToWindow(currentTabHandle); } @@ -216,7 +216,7 @@ suite('Check all editors with all samples', function (): void { await browserTabsUtil.closeAllTabsExceptCurrent(); if (WorkspaceHandlingTests.getWorkspaceName() !== 'undefined') { - Logger.info('Workspace name is defined. Deleting workspace...'); + Logger.debug('Workspace name is defined. Deleting workspace...'); await dashboard.deleteStoppedWorkspaceByUI(WorkspaceHandlingTests.getWorkspaceName()); } From 201e41a9d1a2a5d07bd070760721a4629884eef5 Mon Sep 17 00:00:00 2001 From: Oleksii Korniienko Date: Mon, 22 Jun 2026 12:44:41 +0200 Subject: [PATCH 2/4] commented .debug() Signed-off-by: Oleksii Korniienko --- .../StartWorkspaceUsingDesktopEditors.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/e2e/specs/dashboard-samples/StartWorkspaceUsingDesktopEditors.spec.ts b/tests/e2e/specs/dashboard-samples/StartWorkspaceUsingDesktopEditors.spec.ts index 5ae75457df4..8cc53ed6daa 100644 --- a/tests/e2e/specs/dashboard-samples/StartWorkspaceUsingDesktopEditors.spec.ts +++ b/tests/e2e/specs/dashboard-samples/StartWorkspaceUsingDesktopEditors.spec.ts @@ -42,13 +42,13 @@ suite('Check all editors with all samples', function (): void { if (selectAllEditors) { editorsForCheck = Array.from(ALL_EDITORS.values()); - Logger.debug('SELECT_ALL_EDITORS is true - running tests for all editors'); + // Logger.debug('SELECT_ALL_EDITORS is true - running tests for all editors'); } else { editorsForCheck = Array.from(ALL_EDITORS.values()).filter((editor): boolean => { const envValue: string | undefined = process.env[editor.environmentId]; return envValue === 'true'; }); - Logger.debug(`Running tests for selected editors: ${editorsForCheck.map((e): string => e.name).join(', ')}`); + // Logger.debug(`Running tests for selected editors: ${editorsForCheck.map((e): string => e.name).join(', ')}`); if (editorsForCheck.length === 0) { assert.fail('No editors selected via environment variables'); From d50a7021c72313d4fb2ab6f59f441454a9626c28 Mon Sep 17 00:00:00 2001 From: Oleksii Korniienko Date: Mon, 22 Jun 2026 13:49:44 +0200 Subject: [PATCH 3/4] Commented more Logger.debug() Signed-off-by: Oleksii Korniienko --- .../dashboard-samples/StartWorkspaceUsingDesktopEditors.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/specs/dashboard-samples/StartWorkspaceUsingDesktopEditors.spec.ts b/tests/e2e/specs/dashboard-samples/StartWorkspaceUsingDesktopEditors.spec.ts index 8cc53ed6daa..59916509508 100644 --- a/tests/e2e/specs/dashboard-samples/StartWorkspaceUsingDesktopEditors.spec.ts +++ b/tests/e2e/specs/dashboard-samples/StartWorkspaceUsingDesktopEditors.spec.ts @@ -191,7 +191,7 @@ suite('Check all editors with all samples', function (): void { editorsForCheck.forEach((editor): void => { if (BASE_TEST_CONSTANTS.IS_CLUSTER_DISCONNECTED()) { - Logger.debug('Test cluster is disconnected. Using url for airgap cluster.'); + // Logger.debug('Test cluster is disconnected. Using url for airgap cluster.'); gitRepoUrlsToCheckAirgap.forEach((url): void => { test(`Test start of ${editor.name} with ubi url: ${url}`, async function (): Promise { await testWorkspaceStartup(editor.xpath, editor.type, url, true); From 5c920eb49218a51e192e54d2257500de8ec38e3d Mon Sep 17 00:00:00 2001 From: Oleksii Korniienko Date: Mon, 22 Jun 2026 17:34:46 +0200 Subject: [PATCH 4/4] Removed unsafe outputs Signed-off-by: Oleksii Korniienko --- .../StartWorkspaceUsingDesktopEditors.spec.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/e2e/specs/dashboard-samples/StartWorkspaceUsingDesktopEditors.spec.ts b/tests/e2e/specs/dashboard-samples/StartWorkspaceUsingDesktopEditors.spec.ts index 59916509508..c02a963ff50 100644 --- a/tests/e2e/specs/dashboard-samples/StartWorkspaceUsingDesktopEditors.spec.ts +++ b/tests/e2e/specs/dashboard-samples/StartWorkspaceUsingDesktopEditors.spec.ts @@ -42,13 +42,11 @@ suite('Check all editors with all samples', function (): void { if (selectAllEditors) { editorsForCheck = Array.from(ALL_EDITORS.values()); - // Logger.debug('SELECT_ALL_EDITORS is true - running tests for all editors'); } else { editorsForCheck = Array.from(ALL_EDITORS.values()).filter((editor): boolean => { const envValue: string | undefined = process.env[editor.environmentId]; return envValue === 'true'; }); - // Logger.debug(`Running tests for selected editors: ${editorsForCheck.map((e): string => e.name).join(', ')}`); if (editorsForCheck.length === 0) { assert.fail('No editors selected via environment variables'); @@ -191,7 +189,6 @@ suite('Check all editors with all samples', function (): void { editorsForCheck.forEach((editor): void => { if (BASE_TEST_CONSTANTS.IS_CLUSTER_DISCONNECTED()) { - // Logger.debug('Test cluster is disconnected. Using url for airgap cluster.'); gitRepoUrlsToCheckAirgap.forEach((url): void => { test(`Test start of ${editor.name} with ubi url: ${url}`, async function (): Promise { await testWorkspaceStartup(editor.xpath, editor.type, url, true);