diff --git a/src/pybind/mgr/dashboard/frontend/e2e/rgw/daemons.e2e-spec.ts b/src/pybind/mgr/dashboard/frontend/e2e/rgw/daemons.e2e-spec.ts index b4249e64307..b673f6a39ea 100644 --- a/src/pybind/mgr/dashboard/frontend/e2e/rgw/daemons.e2e-spec.ts +++ b/src/pybind/mgr/dashboard/frontend/e2e/rgw/daemons.e2e-spec.ts @@ -12,7 +12,7 @@ describe('RGW daemons page', () => { Helper.checkConsole(); }); - describe('breadcrumb test', () => { + describe('breadcrumb and tab tests', () => { beforeAll(() => { page.navigateTo(); }); @@ -20,5 +20,17 @@ describe('RGW daemons page', () => { it('should open and show breadcrumb', () => { expect(Helper.getBreadcrumbText()).toEqual('Daemons'); }); + + it('should show two tabs', () => { + expect(Helper.getTabsCount()).toEqual(2); + }); + + it('should show daemons list tab at first', () => { + expect(Helper.getTabText(0)).toEqual('Daemons List'); + }); + + it('should show overall performance as a second tab', () => { + expect(Helper.getTabText(1)).toEqual('Overall Performance'); + }); }); });