Skip to content

Commit

Permalink
refactor: changed login to kube:admin in WebTerminalUnderAdmin
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Szuc <[email protected]>
  • Loading branch information
martinszuc committed Oct 29, 2024
1 parent 8cb40db commit 4865d0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/e2e/specs/web-terminal/WebTerminalUnderAdmin.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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<void> {
const helpCommandExpectedResult: string =
Expand Down

0 comments on commit 4865d0c

Please sign in to comment.