3 var config = browser.params;
5 describe('Main View', function() {
8 beforeEach(function() {
9 browser.get(config.baseUrl + '/');
10 page = require('./main.po');
13 it('should include jumbotron with correct data', function() {
14 expect(page.h1El.getText()).toBe('\'Allo, \'Allo!');
15 expect(page.imgEl.getAttribute('src')).toMatch(/yeoman.png$/);
16 expect(page.imgEl.getAttribute('alt')).toBe('I\'m Yeoman');