Matteo Scandolo | d3b57a1 | 2017-04-20 14:33:04 -0700 | [diff] [blame] | 1 | const user = require('../test_helpers/user'); |
| 2 | const dashboardPage = require('./dashboard.po'); |
| 3 | |
| 4 | describe('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 | }); |