Skip to content

Commit

Permalink
Change regexp in WebTerminalUnderRegularUser update sleniun in the te…
Browse files Browse the repository at this point in the history
…st Image
  • Loading branch information
musienko-maxim committed Mar 6, 2024
1 parent b2ee337 commit 37ae201
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
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

0 comments on commit 37ae201

Please sign in to comment.