Files
Berry Phillips b20c27b049 Add initial end-to-end tests.
- Created new test runner that starts up an instance of Aspen, runs the e2e tests in the configured browsers, and tears it down.
- Created a test for the main title and strap line copy.
- Added e2e tests to the jstest make task.
2013-03-19 13:25:15 -07:00

13 lines
319 B
JavaScript

describe('Test the homepage', function () {
beforeEach(function () {
browser().navigateTo('/');
});
it('should render copy correctly', function () {
expect(element('h2.top span').text()).toContain('Weekly Cash Gifts');
expect(element('h1 span').text()).toContain('Inspiring Generosity');
});
});