1 import { CrushMapPageHelper } from './crush-map.po';
3 describe('CRUSH map page', () => {
4 const crushmap = new CrushMapPageHelper();
11 describe('breadcrumb test', () => {
12 it('should open and show breadcrumb', () => {
13 crushmap.expectBreadcrumbText('CRUSH map');
17 describe('fields check', () => {
18 it('should check that title & table appears', () => {
19 // Check that title (CRUSH map viewer) appears
20 crushmap.getPageTitle().should('equal', 'CRUSH map viewer');
22 // Check that title appears once OSD is clicked
23 crushmap.getCrushNode(1).click();
29 crushmap.getCrushNode(1).should('have.text', legend);
32 // Check that table appears once OSD is clicked
33 crushmap.getDataTables().should('be.visible');