Skip to content

Commit c48fae0

Browse files
authored
Replaced curl command with oc exec command for Documentation test (#23556)
Signed-off-by: Oleksii Korniienko <[email protected]>
1 parent e2fe098 commit c48fae0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/e2e/specs/dashboard-samples/Documentation.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ suite(`Check links to documentation page in Dashboard ${BASE_TEST_CONSTANTS.TEST
5454
suiteSetup('Get links from product version github branch', function (): void {
5555
try {
5656
({ docs, links, productVersion } = JSON.parse(
57-
shellExecutor.curl(
58-
`https://raw.githubusercontent.com/redhat-developer/devspaces-images/devspaces-${majorMinorVersion}-rhel-9/devspaces-dashboard/packages/dashboard-frontend/assets/branding/product.json`
57+
shellExecutor.executeCommand(
58+
`oc exec deploy/devspaces-dashboard -n openshift-devspaces -- cat /public/dashboard/assets/branding/product.json`
5959
)
6060
));
6161
} catch (e) {

0 commit comments

Comments
 (0)