File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM registry.access.redhat.com/ubi8 /nodejs-16 :latest AS build
1+ FROM registry.access.redhat.com/ubi9 /nodejs-22 :latest AS build
22USER root
33RUN command -v yarn || npm i -g yarn
44
@@ -11,4 +11,4 @@ FROM registry.access.redhat.com/ubi8/nginx-120:latest
1111COPY --from=build /usr/src/app/dist /usr/share/nginx/html
1212USER 1001
1313
14- ENTRYPOINT ["nginx" , "-g" , "daemon off;" ]
14+ ENTRYPOINT ["nginx" , "-g" , "daemon off;" ]
Original file line number Diff line number Diff 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
2533export const deleteHelmChart = ( path : string ) => {
Original file line number Diff line number Diff line change 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" ,
You can’t perform that action at this time.
0 commit comments