Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change regexp in WebTerminalUnderRegularUser #22867

Merged
merged 3 commits into from
Mar 6, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/e2e/build/dockerfiles/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM selenium/standalone-chrome:120.0
FROM selenium/standalone-chrome:122.0

ENV DISPLAY=':20'

Expand Down
20 changes: 10 additions & 10 deletions tests/e2e/specs/web-terminal/WebTerminalUnderAdmin.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,16 +67,16 @@ suite(`Login to Openshift console and start WebTerminal ${BASE_TEST_CONSTANTS.TE
});
test('Verify help command under admin user', async function (): Promise<void> {
const helpCommandExpectedResult: string =
'oc \\d+\\.\\d+\\.\\d+ OpenShift CLI\n' +
'kubectl \\d+\\.\\d+\\.\\d+ Kubernetes CLI\n' +
'kustomize \\d+\\.\\d+\\.\\d+ Kustomize CLI \\(built-in to kubectl\\)\n' +
'helm \\d+\\.\\d+\\.\\d+ Helm CLI\n' +
'kn \\d+\\.\\d+\\.\\d+ KNative CLI\n' +
'tkn \\d+\\.\\d+\\.\\d+ Tekton CLI\n' +
'subctl \\d+\\.\\d+\\.\\d+ Submariner CLI\n' +
'odo \\d+\\.\\d+\\.\\d+ Red Hat OpenShift Developer CLI\n' +
'virtctl \\d+\\.\\d+\\.\\d+ KubeVirt CLI\n' +
'jq \\d+\\.\\d+ jq';
'oc.*\\d+\\.\\d+\\.\\d+.*OpenShift CLI\n' +
'kubectl.*\\d+\\.\\d+\\.\\d+.*Kubernetes CLI\n' +
'kustomize.*\\d+\\.\\d+\\.\\d+.*Kustomize CLI \\(built-in to kubectl\\)\n' +
'helm.*\\d+\\.\\d+\\.\\d+.*Helm CLI\n' +
'kn.*\\d+\\.\\d+\\.\\d+.*KNative CLI\n' +
'tkn.*\\d+\\.\\d+\\.\\d+.*Tekton CLI\n' +
'subctl.*\\d+\\.\\d+\\.\\d+.*Submariner CLI\n' +
'odo.*\\d+\\.\\d+\\.\\d+.*Red Hat OpenShift Developer CLI\n' +
'virtctl.*\\d+\\.\\d+\\.\\d+.*KubeVirt CLI\n' +
'jq.*\\d+\\.\\d+.*jq';

await webTerminal.typeAndEnterIntoWebTerminal(`help > ${fileForVerificationTerminalCommands}`);
const commandResult: string = kubernetesCommandLineToolsExecutor.execInContainerCommand(
Expand Down
Loading