Skip to content

Commit

Permalink
Change regexp for mocha expect which include verification for rhoas t…
Browse files Browse the repository at this point in the history
…ool (#22947)
  • Loading branch information
musienko-maxim authored Apr 29, 2024
1 parent 3538049 commit 32c10ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/e2e/specs/web-terminal/WebTerminalUnderAdmin.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,14 @@ suite(`Login to Openshift console and start WebTerminal ${BASE_TEST_CONSTANTS.TE
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' +
'kustomize.*\\d+\\.\\d+\\.\\d+.*Kustomize CLI\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' +
'rhoas.*\\d+\\.\\d+\\.\\d+.*Red Hat OpenShift Application Services CLI\n' +
'jq.*\\d+\\.\\d+.*jq';

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

0 comments on commit 32c10ab

Please sign in to comment.