YouAndWeb_TwoToc
3936998360bc76038a30d7e05f72b71ea6b548b8
YouAndWeb_TwoToc / e2e / main / main.spec.js
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
'use strict'; var config = browser.params; describe('Main View', function() { var page; beforeEach(function() { browser.get(config.baseUrl + '/'); page = require('./main.po'); }); it('should include jumbotron with correct data', function() { expect(page.h1El.getText()).toBe('\'Allo, \'Allo!'); expect(page.imgEl.getAttribute('src')).toMatch(/yeoman.png$/); expect(page.imgEl.getAttribute('alt')).toBe('I\'m Yeoman'); }); }); |
Commits for YouAndWeb_TwoToc/e2e/main/main.spec.js
Revision | Author | Commited | Message |
---|---|---|---|
a2ecfb ... | PTKDev | Fri 20 Nov, 2015 11:22:35 +0000 | TwoToc code |