blob: 2788c4f9b9de748809671a2e0f9ffb616a9620fb (
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 { IscsiPageHelper } from './iscsi.po';
describe('Iscsi Page', () => {
const iscsi = new IscsiPageHelper();
beforeEach(() => {
cy.login();
iscsi.navigateTo();
});
it('should open and show breadcrumb', () => {
iscsi.expectBreadcrumbText('Overview');
});
it('should check that tables are displayed and legends are correct', () => {
// Check tables are displayed
iscsi.getDataTables().its(0).should('be.visible');
iscsi.getDataTables().its(1).should('be.visible');
// Check that legends are correct
iscsi.getLegends().its(0).should('contain.text', 'Gateways');
iscsi.getLegends().its(1).should('contain.text', 'Images');
});
});
|