]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: fix rename inventory to disks
authorNavin Barnwal <knbarnwal@gmail.com>
Thu, 6 May 2021 17:25:57 +0000 (22:55 +0530)
committerNavin Barnwal <knbarnwal@gmail.com>
Thu, 6 May 2021 17:26:05 +0000 (22:56 +0530)
Fix Orchestrator e2e tests

Fixes: https://tracker.ceph.com/issues/50314
Signed-off-by: Navin Barnwal <knbarnwal@gmail.com>
src/pybind/mgr/dashboard/frontend/cypress/integration/orchestrator/01-hosts.e2e-spec.ts
src/pybind/mgr/dashboard/frontend/cypress/integration/orchestrator/02-hosts-inventory.e2e-spec.ts
src/pybind/mgr/dashboard/frontend/cypress/integration/orchestrator/03-inventory.e2e-spec.ts

index 46bb1fea89e11817b771ab328be236e8c0fe23ae..cf85642a1b1d2ef997d10bb9e65f1bed895998a5 100644 (file)
@@ -33,7 +33,7 @@ describe('Hosts page', () => {
 
     it('should display inventory', function () {
       for (const host of this.hosts) {
-        hosts.clickHostTab(host.name, 'Inventory');
+        hosts.clickHostTab(host.name, 'Physical Disks');
         cy.get('cd-host-details').within(() => {
           hosts.getTableCount('total').should('be.gte', 0);
         });
index 2b9ca548d543573e8a82d48c96760b851cf70220..43e8aee595d8cf9b25ae105c6b4d7c382680fec7 100644 (file)
@@ -16,7 +16,7 @@ describe('Hosts page', () => {
 
     it('should display correct inventory', function () {
       for (const host of this.hosts) {
-        hosts.clickHostTab(host.name, 'Inventory');
+        hosts.clickHostTab(host.name, 'Physical Disks');
         cy.get('cd-host-details').within(() => {
           hosts.getTableCount('total').should('be.eq', host.devices.length);
         });
index 596653ab5564789b04420f4e7407da59a99c6f24..24a1b89178d25f1179fb72b3b695ff0a7791f9fb 100644 (file)
@@ -1,6 +1,6 @@
 import { InventoryPageHelper } from '../cluster/inventory.po';
 
-describe('Inventory page', () => {
+describe('Physical Disks page', () => {
   const inventory = new InventoryPageHelper();
 
   beforeEach(() => {