blob: d18d6b117de8d78b77d9fc995b3ab10a4b6aeb40 [file] [log] [blame]
Matteo Scandolo583234d2017-04-20 14:33:04 -07001const user = require('../test_helpers/user');
2const dashboardPage = require('./dashboard.po');
3
4describe('XOS Dashboard', function() {
5 it('should have a graph and system summary', () => {
6 user.login();
7 expect(dashboardPage.graphTitle.isPresent()).toBeTruthy();
8 expect(dashboardPage.graphSvg.isPresent()).toBeTruthy();
9 expect(dashboardPage.summaryTitle.isPresent()).toBeTruthy();
10 expect(dashboardPage.summaryBoxes.count()).toBe(3);
11 });
12});