From 4865d0cd98f97e73ccca2bfd08bf7e4d42e7aa10 Mon Sep 17 00:00:00 2001 From: Martin Szuc Date: Tue, 29 Oct 2024 16:26:23 +0100 Subject: [PATCH] refactor: changed login to kube:admin in WebTerminalUnderAdmin Signed-off-by: Martin Szuc --- tests/e2e/specs/web-terminal/WebTerminalUnderAdmin.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/e2e/specs/web-terminal/WebTerminalUnderAdmin.spec.ts b/tests/e2e/specs/web-terminal/WebTerminalUnderAdmin.spec.ts index 6c295d89de6..7c7334076aa 100644 --- a/tests/e2e/specs/web-terminal/WebTerminalUnderAdmin.spec.ts +++ b/tests/e2e/specs/web-terminal/WebTerminalUnderAdmin.spec.ts @@ -33,7 +33,7 @@ suite(`Login to Openshift console and start WebTerminal ${BASE_TEST_CONSTANTS.TE const fileForVerificationTerminalCommands: string = 'result.txt'; suiteSetup(function (): void { - kubernetesCommandLineToolsExecutor.loginToOcp('admin'); + kubernetesCommandLineToolsExecutor.loginToOcp('kubeadmin'); }); suiteTeardown(function (): void { @@ -63,7 +63,7 @@ suite(`Login to Openshift console and start WebTerminal ${BASE_TEST_CONSTANTS.TE `cat /home/user/${fileForVerificationTerminalCommands}`, webTerminalToolContainerName ); - expect(commandResult).contains('admin'); + expect(commandResult).contains('kube:admin'); }); test('Verify help command under admin user', async function (): Promise { const helpCommandExpectedResult: string =