Skip to content

Commit 32c10ab

Browse files
Change regexp for mocha expect which include verification for rhoas tool (#22947)
1 parent 3538049 commit 32c10ab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/e2e/specs/web-terminal/WebTerminalUnderAdmin.spec.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,14 @@ suite(`Login to Openshift console and start WebTerminal ${BASE_TEST_CONSTANTS.TE
6969
const helpCommandExpectedResult: string =
7070
'oc.*\\d+\\.\\d+\\.\\d+.*OpenShift CLI\n' +
7171
'kubectl.*\\d+\\.\\d+\\.\\d+.*Kubernetes CLI\n' +
72-
'kustomize.*\\d+\\.\\d+\\.\\d+.*Kustomize CLI \\(built-in to kubectl\\)\n' +
72+
'kustomize.*\\d+\\.\\d+\\.\\d+.*Kustomize CLI\n' +
7373
'helm.*\\d+\\.\\d+\\.\\d+.*Helm CLI\n' +
7474
'kn.*\\d+\\.\\d+\\.\\d+.*KNative CLI\n' +
7575
'tkn.*\\d+\\.\\d+\\.\\d+.*Tekton CLI\n' +
7676
'subctl.*\\d+\\.\\d+\\.\\d+.*Submariner CLI\n' +
7777
'odo.*\\d+\\.\\d+\\.\\d+.*Red Hat OpenShift Developer CLI\n' +
7878
'virtctl.*\\d+\\.\\d+\\.\\d+.*KubeVirt CLI\n' +
79+
'rhoas.*\\d+\\.\\d+\\.\\d+.*Red Hat OpenShift Application Services CLI\n' +
7980
'jq.*\\d+\\.\\d+.*jq';
8081

8182
await webTerminal.typeAndEnterIntoWebTerminal(`help > ${fileForVerificationTerminalCommands}`);

0 commit comments

Comments
 (0)