You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Adding basic helmops tests
* Removing trace of .only. Adding extra check for test 190 not detecting DOCTYPE visible
* Adding ability to target default clusters when deploying helmops
* Changing repoName for each case
describe('Test no HTML error messages in HelmOps',{tags: '@p1_2'},()=>{
1068
+
describe('Test HelmOps',{tags: '@p1_2'},()=>{
1069
+
1070
+
qase(165,
1071
+
it('FLEET-165: Test basic HelmOps creation',{tags: '@fleet-165'},()=>{
1072
+
1073
+
cy.addHelmOp({
1074
+
fleetNamespace: 'fleet-local',
1075
+
repoName: 'helmapp-grafana',
1076
+
repoUrl: 'https://grafana.github.io/helm-charts',
1077
+
chart: 'grafana',
1078
+
});
1079
+
1080
+
cy.verifyTableRow(0,'Active','1/1');
1081
+
})
1082
+
);
1083
+
1084
+
qase(197,
1085
+
it('FLEET-197: Test Helmops creation with a fixed version',{tags: '@fleet-197'},()=>{
1086
+
1087
+
cy.addHelmOp({
1088
+
fleetNamespace: 'fleet-default',
1089
+
repoName: 'helmapp-grafana-fixed-version',
1090
+
repoUrl: 'https://grafana.github.io/helm-charts',
1091
+
chart: 'grafana',
1092
+
version: '10.1.0',
1093
+
deployTo: 'All Clusters'
1094
+
});
1095
+
1096
+
cy.verifyTableRow(0,'Active','10.1.0');
1097
+
})
1098
+
);
1099
+
1100
+
qase(198,
1101
+
it('FLEET-198: Test incorrect chart version cannot be installed',{tags: '@fleet-198'},()=>{
1102
+
1103
+
cy.addHelmOp({
1104
+
fleetNamespace: 'fleet-local',
1105
+
repoName: 'helmapp-grafana-bad-version',
1106
+
repoUrl: 'https://grafana.github.io/helm-charts',
1107
+
chart: 'grafana',
1108
+
version: '999999999'
1109
+
});
1110
+
1111
+
cy.verifyTableRow(0,'Error','0/0');
1112
+
cy.contains('Could not get a chart version: no chart version found for grafana-999999999').should('be.visible');
1113
+
})
1114
+
);
1069
1115
1070
1116
qase(190,
1071
1117
it('FLEET-190: Test Faulty Helm Ops display short error message',{tags: '@fleet-190'},()=>{
@@ -1078,6 +1124,7 @@ if (!/\/2\.11/.test(Cypress.env('rancher_version'))) {
1078
1124
});
1079
1125
1080
1126
cy.contains('Could not get a chart version: failed to read helm repo from https://github.com/rancher/index.yaml, error code: 404').should('be.visible');
0 commit comments