1 import { DaemonsPageHelper } from './daemons.po';
3 describe('RGW daemons page', () => {
4 let daemons: DaemonsPageHelper;
7 daemons = new DaemonsPageHelper();
10 afterEach(async () => {
11 await DaemonsPageHelper.checkConsole();
14 describe('breadcrumb and tab tests', () => {
15 beforeAll(async () => {
16 await daemons.navigateTo();
19 it('should open and show breadcrumb', async () => {
20 await daemons.waitTextToBePresent(daemons.getBreadcrumb(), 'Daemons');
23 it('should show two tabs', async () => {
24 await expect(daemons.getTabsCount()).toEqual(2);
27 it('should show daemons list tab at first', async () => {
28 await expect(daemons.getTabText(0)).toEqual('Daemons List');
31 it('should show overall performance as a second tab', async () => {
32 await expect(daemons.getTabText(1)).toEqual('Overall Performance');
36 describe('details and performance counters table tests', () => {
37 beforeAll(async () => {
38 await daemons.navigateTo();
41 it('should check that details/performance tables are visible when daemon is selected', async () => {
42 await daemons.checkTables();