summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/dashboard/frontend/e2e/block/iscsi.e2e-spec.ts
blob: 194f87efb42775552e3627e6ee2d7db1dc72e6b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import { Helper } from '../helper.po';
import { IscsiPage } from './iscsi.po';

describe('Iscsi Page', () => {
  let page: IscsiPage;

  beforeAll(() => {
    page = new IscsiPage();
  });

  afterEach(() => {
    Helper.checkConsole();
  });

  describe('breadcrumb test', () => {
    beforeAll(() => {
      page.navigateTo();
    });

    it('should open and show breadcrumb', () => {
      expect(IscsiPage.getBreadcrumbText()).toEqual('Overview');
    });
  });
});