7eab971d3f
This ports over changes made in openstack-health to convert the project from jshint to eslint, with the eslint-config-openstack plugin. Change-Id: Iaa0490d07603e2481e1c738136f9fda1be95dea8
22 lines
463 B
JavaScript
22 lines
463 B
JavaScript
/*global browser, by */
|
|
|
|
'use strict';
|
|
|
|
describe('E2E: Example', function() {
|
|
|
|
beforeEach(function() {
|
|
browser.get('/');
|
|
browser.waitForAngular();
|
|
});
|
|
|
|
it('should route correctly', function() {
|
|
expect(browser.getLocationAbsUrl()).toMatch('/');
|
|
});
|
|
|
|
it('should show the number defined in the controller', function() {
|
|
var element = browser.findElement(by.css('.number-example'));
|
|
expect(element.getText()).toEqual('1234');
|
|
});
|
|
|
|
});
|