Helper.checkConsole();
});
- it('should open and show breadcrumb', () => {
- page.navigateTo();
- expect(Helper.getBreadcrumbText()).toEqual('Overview');
+ describe('breadcrumb test', () => {
+ beforeAll(() => {
+ page.navigateTo();
+ });
+
+ it('should open and show breadcrumb', () => {
+ expect(Helper.getBreadcrumbText()).toEqual('Overview');
+ });
});
});
Helper.checkConsole();
});
- it('should open and show breadcrumb', () => {
- page.navigateTo();
- expect(Helper.getBreadcrumbText()).toEqual('Configuration');
+ describe('breadcrumb test', () => {
+ beforeAll(() => {
+ page.navigateTo();
+ });
+
+ it('should open and show breadcrumb', () => {
+ expect(Helper.getBreadcrumbText()).toEqual('Configuration');
+ });
});
});
Helper.checkConsole();
});
- it('should open and show breadcrumb', () => {
- page.navigateTo();
- expect(Helper.getBreadcrumbText()).toEqual('CRUSH map');
+ describe('breadcrumb test', () => {
+ beforeAll(() => {
+ page.navigateTo();
+ });
+
+ it('should open and show breadcrumb', () => {
+ expect(Helper.getBreadcrumbText()).toEqual('CRUSH map');
+ });
});
});
Helper.checkConsole();
});
- it('should open and show breadcrumb', () => {
- page.navigateTo();
- expect(Helper.getBreadcrumbText()).toEqual('Hosts');
- });
+ describe('breadcrumb and tab tests', () => {
+ beforeAll(() => {
+ page.navigateTo();
+ });
- it('should show two tabs', () => {
- page.navigateTo();
- expect(Helper.getTabsCount()).toEqual(2);
- });
+ it('should open and show breadcrumb', () => {
+ expect(Helper.getBreadcrumbText()).toEqual('Hosts');
+ });
- it('should show hosts list tab at first', () => {
- page.navigateTo();
- expect(Helper.getTabText(0)).toEqual('Hosts List');
- });
+ it('should show two tabs', () => {
+ expect(Helper.getTabsCount()).toEqual(2);
+ });
+
+ it('should show hosts list tab at first', () => {
+ expect(Helper.getTabText(0)).toEqual('Hosts List');
+ });
- it('should show overall performance as a second tab', () => {
- page.navigateTo();
- expect(Helper.getTabText(1)).toEqual('Overall Performance');
+ it('should show overall performance as a second tab', () => {
+ expect(Helper.getTabText(1)).toEqual('Overall Performance');
+ });
});
});
Helper.checkConsole();
});
- it('should open and show breadcrumb', () => {
- page.navigateTo();
- expect(Helper.getBreadcrumbText()).toEqual('Logs');
- });
+ describe('breadcrumb and tab tests', () => {
+ beforeAll(() => {
+ page.navigateTo();
+ });
- it('should show two tabs', () => {
- page.navigateTo();
- expect(Helper.getTabsCount()).toEqual(2);
- });
+ it('should open and show breadcrumb', () => {
+ expect(Helper.getBreadcrumbText()).toEqual('Logs');
+ });
- it('should show cluster logs tab at first', () => {
- page.navigateTo();
- expect(Helper.getTabText(0)).toEqual('Cluster Logs');
- });
+ it('should show two tabs', () => {
+ expect(Helper.getTabsCount()).toEqual(2);
+ });
+
+ it('should show cluster logs tab at first', () => {
+ expect(Helper.getTabText(0)).toEqual('Cluster Logs');
+ });
- it('should show audit logs as a second tab', () => {
- page.navigateTo();
- expect(Helper.getTabText(1)).toEqual('Audit Logs');
+ it('should show audit logs as a second tab', () => {
+ expect(Helper.getTabText(1)).toEqual('Audit Logs');
+ });
});
});
Helper.checkConsole();
});
- it('should open and show breadcrumb', () => {
- page.navigateTo();
- expect(Helper.getBreadcrumbText()).toEqual('Monitors');
+ describe('breadcrumb test', () => {
+ beforeAll(() => {
+ page.navigateTo();
+ });
+
+ it('should open and show breadcrumb', () => {
+ expect(Helper.getBreadcrumbText()).toEqual('Monitors');
+ });
});
});
Helper.checkConsole();
});
- it('should open and show breadcrumb', () => {
- page.navigateTo();
- expect(Helper.getBreadcrumbText()).toEqual('OSDs');
- });
+ describe('breadcrumb and tab tests', () => {
+ beforeAll(() => {
+ page.navigateTo();
+ });
- it('should show two tabs', () => {
- page.navigateTo();
- expect(Helper.getTabsCount()).toEqual(2);
- });
+ it('should open and show breadcrumb', () => {
+ expect(Helper.getBreadcrumbText()).toEqual('OSDs');
+ });
- it('should show OSDs list tab at first', () => {
- page.navigateTo();
- expect(Helper.getTabText(0)).toEqual('OSDs List');
- });
+ it('should show two tabs', () => {
+ expect(Helper.getTabsCount()).toEqual(2);
+ });
+
+ it('should show OSDs list tab at first', () => {
+ expect(Helper.getTabText(0)).toEqual('OSDs List');
+ });
- it('should show overall performance as a second tab', () => {
- page.navigateTo();
- expect(Helper.getTabText(1)).toEqual('Overall Performance');
+ it('should show overall performance as a second tab', () => {
+ expect(Helper.getTabText(1)).toEqual('Overall Performance');
+ });
});
});
Helper.checkConsole();
});
- it('should open and show breadcrumb', () => {
- page.navigateTo();
- expect(Helper.getBreadcrumbText()).toEqual('Pools');
- });
+ describe('breadcrumb and tab tests', () => {
+ beforeAll(() => {
+ page.navigateTo();
+ });
- it('should show two tabs', () => {
- page.navigateTo();
- expect(Helper.getTabsCount()).toEqual(2);
- });
+ it('should open and show breadcrumb', () => {
+ expect(Helper.getBreadcrumbText()).toEqual('Pools');
+ });
- it('should show pools list tab at first', () => {
- page.navigateTo();
- expect(Helper.getTabText(0)).toEqual('Pools List');
- });
+ it('should show two tabs', () => {
+ expect(Helper.getTabsCount()).toEqual(2);
+ });
+
+ it('should show pools list tab at first', () => {
+ expect(Helper.getTabText(0)).toEqual('Pools List');
+ });
- it('should show overall performance as a second tab', () => {
- page.navigateTo();
- expect(Helper.getTabText(1)).toEqual('Overall Performance');
+ it('should show overall performance as a second tab', () => {
+ expect(Helper.getTabText(1)).toEqual('Overall Performance');
+ });
});
});
Helper.checkConsole();
});
- it('should open and show breadcrumb', () => {
- page.navigateTo();
- expect(Helper.getBreadcrumbText()).toEqual('Buckets');
+ describe('breadcrumb test', () => {
+ beforeAll(() => {
+ page.navigateTo();
+ });
+
+ it('should open and show breadcrumb', () => {
+ expect(Helper.getBreadcrumbText()).toEqual('Buckets');
+ });
});
});
Helper.checkConsole();
});
- it('should open and show breadcrumb', () => {
- page.navigateTo();
- expect(Helper.getBreadcrumbText()).toEqual('Daemons');
+ describe('breadcrumb test', () => {
+ beforeAll(() => {
+ page.navigateTo();
+ });
+
+ it('should open and show breadcrumb', () => {
+ expect(Helper.getBreadcrumbText()).toEqual('Daemons');
+ });
});
});
Helper.checkConsole();
});
- it('should open and show breadcrumb', () => {
- page.navigateTo();
- expect(Helper.getBreadcrumbText()).toEqual('Users');
+ describe('breadcrumb test', () => {
+ beforeAll(() => {
+ page.navigateTo();
+ });
+
+ it('should open and show breadcrumb', () => {
+ expect(Helper.getBreadcrumbText()).toEqual('Users');
+ });
});
});