diff --git a/frontend/packages/dev-console/integration-tests/support/constants/helm.ts b/frontend/packages/dev-console/integration-tests/support/constants/helm.ts index ca679333157..dd3863ee9eb 100644 --- a/frontend/packages/dev-console/integration-tests/support/constants/helm.ts +++ b/frontend/packages/dev-console/integration-tests/support/constants/helm.ts @@ -3,5 +3,5 @@ export enum helmActions { upgrade = 'Upgrade', rollback = 'Rollback', - deleteHelmRelease = 'Delete Helm Release', + deleteHelmRelease = 'Delete Helm release', } diff --git a/frontend/packages/dev-console/integration-tests/support/constants/pageTitle.ts b/frontend/packages/dev-console/integration-tests/support/constants/pageTitle.ts index ab915cb270b..401f7dce557 100644 --- a/frontend/packages/dev-console/integration-tests/support/constants/pageTitle.ts +++ b/frontend/packages/dev-console/integration-tests/support/constants/pageTitle.ts @@ -13,7 +13,7 @@ export const pageTitle = { CreateChecluster: 'Create CheCluster', CreateEventSource: 'Create Event Source', CreateHelmChartRepository: 'Create Helm Chart Repository', - CreateHelmRelease: 'Create Helm Release', + CreateHelmRelease: 'Create Helm release', CreateKnativeEventing: 'Create KnativeEventing', CreateKnativeKafka: 'Create KnativeKafka', CreateKnativeServing: 'Create KnativeServing', @@ -33,8 +33,8 @@ export const pageTitle = { GitOPs: 'GitOps', Helm: 'Helm', HelmCharts: 'Helm Charts', - HelmReleaseDetails: 'Helm Release details', - HelmReleases: 'Helm Releases', + HelmReleaseDetails: 'Helm release details', + HelmReleases: 'Helm releases', InstalledOperators: 'Installed Operators', InstallOperator: 'Install Operator', KnativeEventings: 'KnativeEventings', @@ -60,8 +60,8 @@ export const pageTitle = { ShipwrightBuild: 'ShipwrightBuild', Templates: 'Templates', TriggerTemplateDetails: 'TriggerTemplate details', - upgradeHelmRelease: 'Upgrade Helm Release', - UpgradeHelmRelease: 'Upgrade Helm Release', + upgradeHelmRelease: 'Upgrade Helm release', + UpgradeHelmRelease: 'Upgrade Helm release', UploadJarFile: 'Upload JAR file', YAML: 'Import YAML', }; diff --git a/frontend/packages/dev-console/integration-tests/support/constants/staticText/global-text.ts b/frontend/packages/dev-console/integration-tests/support/constants/staticText/global-text.ts index 1e6fbe9b078..c52b5950ae8 100644 --- a/frontend/packages/dev-console/integration-tests/support/constants/staticText/global-text.ts +++ b/frontend/packages/dev-console/integration-tests/support/constants/staticText/global-text.ts @@ -5,7 +5,7 @@ export const adminNavigationMenu = { export const messages = { helm: { - noHelmReleasesFound: 'No Helm Releases found', + noHelmReleasesFound: 'No Helm releases found', }, addFlow: { gitUrlValidated: 'Validated', diff --git a/frontend/packages/dev-console/integration-tests/support/constants/topology.ts b/frontend/packages/dev-console/integration-tests/support/constants/topology.ts index 23c2f1c1c02..c76596aef53 100644 --- a/frontend/packages/dev-console/integration-tests/support/constants/topology.ts +++ b/frontend/packages/dev-console/integration-tests/support/constants/topology.ts @@ -4,7 +4,7 @@ export enum displayOptions { PodCount = 'Pod Count', Labels = 'Labels', ApplicationGroupings = 'Application Groupings', - HelmReleases = 'Helm Releases', + HelmReleases = 'Helm releases', KnativeServices = 'Knative Services', } @@ -30,7 +30,7 @@ export enum nodeActions { DeleteService = 'Delete Service', EditService = 'Edit Service', EditHealthChecks = 'Edit Health Checks', - HelmReleases = 'Helm Releases', + HelmReleases = 'Helm releases', SetTrafficDistribution = 'Set traffic distribution', AddSubscription = 'Add Subscription', EditInMemoryChannel = 'Edit InMemoryChannel', diff --git a/frontend/packages/dev-console/integration-tests/support/pageObjects/helm-po.ts b/frontend/packages/dev-console/integration-tests/support/pageObjects/helm-po.ts index e0ee7bd1a37..142bba5766b 100644 --- a/frontend/packages/dev-console/integration-tests/support/pageObjects/helm-po.ts +++ b/frontend/packages/dev-console/integration-tests/support/pageObjects/helm-po.ts @@ -20,7 +20,7 @@ export const helmPO = { failedCheckbox: '[data-ouia-component-id="DataViewCheckboxFilter-filter-item-failed"] input', otherCheckbox: '[data-ouia-component-id="DataViewCheckboxFilter-filter-item-other"] input', details: { - title: '[data-test-section-heading="Helm Release Details"]', + title: '[data-test-section-heading="Helm release details"]', }, upgradeHelmRelease: { replicaCount: '#root_replicaCount', @@ -42,6 +42,6 @@ export const helmPO = { helmActions: { upgrade: '[data-test-action="Upgrade"]', rollBack: '[data-test-action="Rollback"]', - deleteHelmRelease: '[data-test-action="Delete Helm Release"]', + deleteHelmRelease: '[data-test-action="Delete Helm release"]', }, }; diff --git a/frontend/packages/helm-plugin/integration-tests/support/constants/static-text/helm-text.ts b/frontend/packages/helm-plugin/integration-tests/support/constants/static-text/helm-text.ts index 44ea5e5c110..6382ef0cd61 100644 --- a/frontend/packages/helm-plugin/integration-tests/support/constants/static-text/helm-text.ts +++ b/frontend/packages/helm-plugin/integration-tests/support/constants/static-text/helm-text.ts @@ -1,3 +1,3 @@ export const messages = { - noHelmReleasesFound: 'No Helm Releases found', + noHelmReleasesFound: 'No Helm releases found', }; diff --git a/frontend/packages/helm-plugin/integration-tests/support/pages/helm/helm-details-page.ts b/frontend/packages/helm-plugin/integration-tests/support/pages/helm/helm-details-page.ts index ba1555a3848..e796227f3fa 100644 --- a/frontend/packages/helm-plugin/integration-tests/support/pages/helm/helm-details-page.ts +++ b/frontend/packages/helm-plugin/integration-tests/support/pages/helm/helm-details-page.ts @@ -5,7 +5,7 @@ import { helmPO } from '@console/dev-console/integration-tests/support/pageObjec const actions = [helmActions.upgrade, helmActions.rollback, helmActions.deleteHelmRelease]; export const helmDetailsPage = { - verifyTitle: () => cy.byTestSectionHeading('Helm Release details').should('be.visible'), + verifyTitle: () => cy.byTestSectionHeading('Helm release details').should('be.visible'), verifyHelmReleaseStatus: () => cy.get('[data-test="status-text"]').should('be.visible'), verifyResourcesTab: () => cy.get(helmPO.resourcesTab).should('be.visible'), verifyReleaseNotesTab: () => cy.get(helmPO.revisionHistoryTab).should('be.visible'), @@ -23,12 +23,12 @@ export const helmDetailsPage = { cy.get('dl dt').contains(fieldName).next('dd').should('contain.text', fieldValue); }, uninstallHelmRelease: () => { - cy.byLegacyTestID('modal-title').should('contain.text', 'Delete Helm Release?'); + cy.byLegacyTestID('modal-title').should('contain.text', 'Delete Helm release?'); cy.byTestID('confirm-action').click({ force: true }); modal.shouldBeClosed(); }, enterReleaseNameInUninstallPopup: (releaseName: string = 'nodejs-release') => { - modal.modalTitleShouldContain('Delete Helm Release?'); + modal.modalTitleShouldContain('Delete Helm release?'); cy.byTestID('resource-name').should('have.text', releaseName); cy.get(helmPO.uninstallHelmRelease.releaseName).type(releaseName); }, @@ -48,7 +48,7 @@ export const helmDetailsPage = { clickHelmActionButton: () => cy.byTestID('console-select-menu-toggle').click(), verifyActionsInCreateMenu: () => { cy.byTestID('console-select-item').contains('Repository').should('exist'); - cy.byTestID('console-select-item').contains('Helm Release').should('exist'); + cy.byTestID('console-select-item').contains('Helm release').should('exist'); }, clickCreateMenu: (createMenuOption: string) => { cy.byTestID('console-select-menu-toggle').click(); @@ -59,7 +59,7 @@ export const helmDetailsPage = { cy.byTestID(`chartRepositoryTitle-${repoName}`).click(), clickCreateHelmRelease: () => { cy.byTestID('console-select-menu-toggle').click(); - cy.byTestID('console-select-item').contains('Helm Release').click(); + cy.byTestID('console-select-item').contains('Helm release').click(); }, clickCreateRepository: () => { cy.byTestID('console-select-menu-toggle').click(); diff --git a/frontend/packages/helm-plugin/integration-tests/support/pages/helm/helm-page.ts b/frontend/packages/helm-plugin/integration-tests/support/pages/helm/helm-page.ts index 7d940ef8066..8a32f2c9bbe 100644 --- a/frontend/packages/helm-plugin/integration-tests/support/pages/helm/helm-page.ts +++ b/frontend/packages/helm-plugin/integration-tests/support/pages/helm/helm-page.ts @@ -163,7 +163,7 @@ export const helmPage = { case helmActions.rollback: cy.get(helmPO.helmActions.rollBack).click(); break; - case 'Delete Helm Release': + case 'Delete Helm release': case helmActions.deleteHelmRelease: cy.get(helmPO.helmActions.deleteHelmRelease).click(); break; diff --git a/frontend/packages/helm-plugin/integration-tests/support/pages/helm/upgrade-helm-release-page.ts b/frontend/packages/helm-plugin/integration-tests/support/pages/helm/upgrade-helm-release-page.ts index 161c89791b5..d817c16ffdb 100644 --- a/frontend/packages/helm-plugin/integration-tests/support/pages/helm/upgrade-helm-release-page.ts +++ b/frontend/packages/helm-plugin/integration-tests/support/pages/helm/upgrade-helm-release-page.ts @@ -2,7 +2,7 @@ import { warningModal } from '@console/cypress-integration-tests/views/warning-m import { helmPO } from '@console/dev-console/integration-tests/support/pageObjects/helm-po'; export const upgradeHelmRelease = { - verifyTitle: () => cy.get('h1').contains('Upgrade Helm Release').should('be.visible'), + verifyTitle: () => cy.get('h1').contains('Upgrade Helm release').should('be.visible'), updateReplicaCount: (replicaCount: string = '2') => cy.get(helmPO.upgradeHelmRelease.replicaCount).clear().type(replicaCount), upgradeChartVersion: () => { diff --git a/frontend/packages/helm-plugin/integration-tests/support/step-definitions/helm/helm-navigation.ts b/frontend/packages/helm-plugin/integration-tests/support/step-definitions/helm/helm-navigation.ts index 591ea417b7b..d8e48dc9893 100644 --- a/frontend/packages/helm-plugin/integration-tests/support/step-definitions/helm/helm-navigation.ts +++ b/frontend/packages/helm-plugin/integration-tests/support/step-definitions/helm/helm-navigation.ts @@ -101,7 +101,7 @@ Given('user is at the Helm page', () => { Given('user is at the Helm Release tab in admin perspective', () => { cy.clickNavLink(navPaths.helm); - cy.byLegacyTestID('horizontal-link-Helm Releases').should('exist').click({ force: true }); + cy.byLegacyTestID('horizontal-link-Helm releases').should('exist').click({ force: true }); }); When('user selects checkbox for the Deployed Helm charts', (workloadName: string) => { @@ -138,7 +138,7 @@ Then('user will see the Release Notes tab', () => { }); Then( - 'user will see the Actions drop down menu with options Upgrade, Rollback, and Delete Helm Release', + 'user will see the Actions drop down menu with options Upgrade, Rollback, and Delete Helm release', () => { helmDetailsPage.verifyActionsDropdown(); helmDetailsPage.clickActionMenu(); @@ -214,7 +214,7 @@ Then('user is redirected to Repositories tab', () => { }); Then('user is able to see Helm Releases and Repositories Tabs', () => { - helmDetailsPage.checkHelmTab('Helm Releases'); + helmDetailsPage.checkHelmTab('Helm releases'); helmDetailsPage.checkHelmTab('Repositories'); }); diff --git a/frontend/packages/helm-plugin/integration-tests/support/step-definitions/helm/helm-release.ts b/frontend/packages/helm-plugin/integration-tests/support/step-definitions/helm/helm-release.ts index b191e750f06..6a6636138ca 100644 --- a/frontend/packages/helm-plugin/integration-tests/support/step-definitions/helm/helm-release.ts +++ b/frontend/packages/helm-plugin/integration-tests/support/step-definitions/helm/helm-release.ts @@ -35,10 +35,10 @@ Then( }, ); -Then('user is able to see the context menu with actions Upgrade and Delete Helm Release', () => { +Then('user is able to see the context menu with actions Upgrade and Delete Helm release', () => { cy.get('div.odc-topology-context-menu').should('be.visible'); cy.byTestActionID('Upgrade').should('be.visible'); - cy.byTestActionID('Delete Helm Release').should('be.visible'); + cy.byTestActionID('Delete Helm release').should('be.visible'); }); Given('user is on the topology sidebar of the helm release {string}', (helmReleaseName: string) => { @@ -64,7 +64,7 @@ Then( Then( 'user is able to see the actions dropdown menu with actions Upgrade and Uninstall Helm Release', () => { - const actions = ['Upgrade', 'Uninstall Helm Release']; + const actions = ['Upgrade', 'Uninstall Helm release']; cy.byLegacyTestID('action-items') .children() .each(($ele) => { @@ -84,7 +84,7 @@ Given('user is able to see {string} in helm page in admin view', (helmRelease: s When('user clicks on the Helm Release tab in admin perspective', () => { cy.clickNavLink(navPaths.helm); - cy.byLegacyTestID('horizontal-link-Helm Releases').should('exist').click({ force: true }); + cy.byLegacyTestID('horizontal-link-Helm releases').should('exist').click({ force: true }); }); Then('user will be redirected to Helm Releases page under Helm tab', () => { @@ -96,7 +96,7 @@ When('user clicks on the Kebab menu', () => { }); Then( - 'user is able to see kebab menu with actions Upgrade, Rollback and Delete Helm Release', + 'user is able to see kebab menu with actions Upgrade, Rollback and Delete Helm release', () => { topologySidePane.verifyActions( helmActions.upgrade, diff --git a/frontend/packages/topology/integration-tests/support/pages/topology/topology-page.ts b/frontend/packages/topology/integration-tests/support/pages/topology/topology-page.ts index a46dbe06a47..3515d18a5d9 100644 --- a/frontend/packages/topology/integration-tests/support/pages/topology/topology-page.ts +++ b/frontend/packages/topology/integration-tests/support/pages/topology/topology-page.ts @@ -190,7 +190,7 @@ export const topologyPage = { break; case displayOptions.HelmReleases: cy.get('label[class$="menu__item"]') - .contains('Helm Releases') + .contains('Helm releases') .within(() => { cy.get('[type="checkbox"]').check(); });