[PORTAL-7] Rebase
[portal.git] / ecomp-portal-FE-os / e2e / main / main.spec.js
1 'use strict';
2
3 describe('Main View', function() {
4   var page;
5
6   beforeEach(function() {
7     browser.get('/');
8     page = require('./main.po');
9   });
10
11   it('should include jumbotron with correct data', function() {
12     expect(page.h1El.getText()).toBe('\'Allo, \'Allo!');
13     expect(page.imgEl.getAttribute('src')).toMatch(/assets\/images\/yeoman.png$/);
14     expect(page.imgEl.getAttribute('alt')).toBe('I\'m Yeoman');
15   });
16 });