Skip to content

Commit 1e244c2

Browse files
Merge branch 'main' into CONSOLE-4626
2 parents ea3fdd8 + a1916c0 commit 1e244c2

4 files changed

Lines changed: 712 additions & 95 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM registry.access.redhat.com/ubi8/nodejs-16:latest AS build
1+
FROM registry.access.redhat.com/ubi9/nodejs-22:latest AS build
22
USER root
33
RUN command -v yarn || npm i -g yarn
44

@@ -11,4 +11,4 @@ FROM registry.access.redhat.com/ubi8/nginx-120:latest
1111
COPY --from=build /usr/src/app/dist /usr/share/nginx/html
1212
USER 1001
1313

14-
ENTRYPOINT ["nginx", "-g", "daemon off;"]
14+
ENTRYPOINT ["nginx", "-g", "daemon off;"]

integration-tests/views/common.ts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,16 @@ export const installHelmChart = (path: string) => {
1818
result.stdout &&
1919
cy.log("Successfully installed helm chart: ", result.stdout);
2020
});
21-
cy.byTestID("refresh-web-console", { timeout: 300000 }).should("exist");
22-
cy.reload();
21+
// cy.byTestID("refresh-web-console", { timeout: 300000 }).should("exist");
22+
cy.visit(
23+
"/k8s/cluster/operator.openshift.io~v1~Console/cluster/console-plugins"
24+
);
25+
// TODO: make this less brittle once data-test attributes are added to the table
26+
cy.get('table[aria-label="console plugins table"]').should("exist");
27+
cy.get(
28+
'table[aria-label="console plugins table"] tbody tr:first-child td:nth-child(4)'
29+
).should("include.text", "Loaded");
30+
// cy.reload();
2331
};
2432

2533
export const deleteHelmChart = (path: string) => {

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
},
2020
"devDependencies": {
2121
"@cypress/webpack-preprocessor": "^6.0.0",
22-
"@openshift-console/dynamic-plugin-sdk": "^1.0.0",
23-
"@openshift-console/dynamic-plugin-sdk-webpack": "^1.0.0",
22+
"@openshift-console/dynamic-plugin-sdk": "^4.19.0",
23+
"@openshift-console/dynamic-plugin-sdk-webpack": "^4.19.0",
2424
"@patternfly/react-core": "6.2.0",
2525
"@patternfly/react-icons": "6.2.0",
2626
"@patternfly/react-table": "6.2.0",

0 commit comments

Comments
 (0)