Переглянути джерело

Update licensing panel nomenclature.

Signed-off-by: Nashwan Azhari <nazhari@cloudbasesolutions.com>
Nashwan Azhari 1 рік тому
батько
коміт
41e10b147c

+ 1 - 1
cypress/e2e/dashboard/dashboard.cy.ts

@@ -58,7 +58,7 @@ describe("Dashboard", () => {
 
       cy.get("*[class^='DashboardLicence__ChartHeaderCurrent']").should(
         "contain.text",
-        `${applianceStatus.appliance_licence_status.current_performed_replicas} Used Replica ${applianceStatus.appliance_licence_status.current_performed_migrations} Used Migrations`
+        `${applianceStatus.appliance_licence_status.current_performed_replicas} Fulfilled Replica ${applianceStatus.appliance_licence_status.current_performed_migrations} Fulfilled Migrations`
       );
     });
 

+ 3 - 3
src/components/modules/DashboardModule/DashboardLicence/DashboardLicence.spec.tsx

@@ -68,14 +68,14 @@ describe("DashboardLicence", () => {
     expect(
       TestUtils.selectAll("DashboardLicence__ChartHeaderCurrent-")[0]
         .textContent
-    ).toBe("5 Used Replicas ");
+    ).toBe("5 Fulfilled Replicas ");
     expect(
       TestUtils.selectAll("DashboardLicence__ChartHeaderTotal-")[0].textContent
     ).toBe("Total 10");
     expect(
       TestUtils.selectAll("DashboardLicence__ChartHeaderCurrent-")[1]
         .textContent
-    ).toBe("3 Used Migrations ");
+    ).toBe("3 Fulfilled Migrations ");
     expect(
       TestUtils.selectAll("DashboardLicence__ChartHeaderTotal-")[1].textContent
     ).toBe("Total 5");
@@ -176,6 +176,6 @@ describe("DashboardLicence", () => {
     expect(
       TestUtils.selectAll("DashboardLicence__ChartHeaderCurrent-")[0]
         .textContent
-    ).toBe("1 Used Replica ");
+    ).toBe("1 Fuldilled Replica ");
   });
 });

+ 4 - 4
src/components/modules/DashboardModule/DashboardLicence/DashboardLicence.tsx

@@ -201,8 +201,8 @@ class DashboardLicence extends React.Component<Props> {
           color: ThemePalette.alert,
           current: info.currentPerformedReplicas,
           total: info.currentAvailableReplicas,
-          label: "Used Replica",
-          info: `The number of replicas consumed over the number of replicas available in
+          label: "Fulfilled Replica",
+          info: `The number of replicas fulfilled over the number of replicas available in
           all currently active licences (including non-activated floating licences)`,
         },
       ],
@@ -211,8 +211,8 @@ class DashboardLicence extends React.Component<Props> {
           color: ThemePalette.primary,
           current: info.currentPerformedMigrations,
           total: info.currentAvailableMigrations,
-          label: "Used Migration",
-          info: `The number of migrations consumed over the number of migrations available in
+          label: "Fulfilled Migration",
+          info: `The number of migrations fulfilled over the number of migrations available in
           all currently active licences (including non-activated floating licences)`,
         },
       ],