3 describe('Main View', function() {
6 beforeEach(function() {
8 page = require('./main.po');
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');