mirror of
https://github.com/kennethreitz-archive/www.gittip.com.git
synced 2026-06-21 07:40:58 +00:00
b20c27b049
- 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.
13 lines
319 B
JavaScript
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');
|
|
});
|
|
|
|
});
|