[CORD-1133] E2E GUI Tests
Change-Id: I521d0cc068a3e328f3d4f421ba4b342bea167e19
diff --git a/e2e/dashboard/dashboard.spec.js b/e2e/dashboard/dashboard.spec.js
new file mode 100644
index 0000000..d18d6b1
--- /dev/null
+++ b/e2e/dashboard/dashboard.spec.js
@@ -0,0 +1,12 @@
+const user = require('../test_helpers/user');
+const dashboardPage = require('./dashboard.po');
+
+describe('XOS Dashboard', function() {
+ it('should have a graph and system summary', () => {
+ user.login();
+ expect(dashboardPage.graphTitle.isPresent()).toBeTruthy();
+ expect(dashboardPage.graphSvg.isPresent()).toBeTruthy();
+ expect(dashboardPage.summaryTitle.isPresent()).toBeTruthy();
+ expect(dashboardPage.summaryBoxes.count()).toBe(3);
+ });
+});
\ No newline at end of file