From: Navin Barnwal Date: Thu, 6 May 2021 17:25:57 +0000 (+0530) Subject: mgr/dashboard: fix rename inventory to disks X-Git-Tag: v17.1.0~2014^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=15b3665f27d7ceb2de74796a365d4bd19d716ff6;p=ceph.git mgr/dashboard: fix rename inventory to disks Fix Orchestrator e2e tests Fixes: https://tracker.ceph.com/issues/50314 Signed-off-by: Navin Barnwal --- diff --git a/src/pybind/mgr/dashboard/frontend/cypress/integration/orchestrator/01-hosts.e2e-spec.ts b/src/pybind/mgr/dashboard/frontend/cypress/integration/orchestrator/01-hosts.e2e-spec.ts index 46bb1fea89e1..cf85642a1b1d 100644 --- a/src/pybind/mgr/dashboard/frontend/cypress/integration/orchestrator/01-hosts.e2e-spec.ts +++ b/src/pybind/mgr/dashboard/frontend/cypress/integration/orchestrator/01-hosts.e2e-spec.ts @@ -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); }); diff --git a/src/pybind/mgr/dashboard/frontend/cypress/integration/orchestrator/02-hosts-inventory.e2e-spec.ts b/src/pybind/mgr/dashboard/frontend/cypress/integration/orchestrator/02-hosts-inventory.e2e-spec.ts index 2b9ca548d543..43e8aee595d8 100644 --- a/src/pybind/mgr/dashboard/frontend/cypress/integration/orchestrator/02-hosts-inventory.e2e-spec.ts +++ b/src/pybind/mgr/dashboard/frontend/cypress/integration/orchestrator/02-hosts-inventory.e2e-spec.ts @@ -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); }); diff --git a/src/pybind/mgr/dashboard/frontend/cypress/integration/orchestrator/03-inventory.e2e-spec.ts b/src/pybind/mgr/dashboard/frontend/cypress/integration/orchestrator/03-inventory.e2e-spec.ts index 596653ab5564..24a1b89178d2 100644 --- a/src/pybind/mgr/dashboard/frontend/cypress/integration/orchestrator/03-inventory.e2e-spec.ts +++ b/src/pybind/mgr/dashboard/frontend/cypress/integration/orchestrator/03-inventory.e2e-spec.ts @@ -1,6 +1,6 @@ import { InventoryPageHelper } from '../cluster/inventory.po'; -describe('Inventory page', () => { +describe('Physical Disks page', () => { const inventory = new InventoryPageHelper(); beforeEach(() => {