zonemaster-gui/e2e/GR15.e2e-spec.ts
Pierre-Aymeric Masse 143f0abeae first commit
2018-06-21 09:10:55 +02:00

16 lines
546 B
TypeScript

import { by, browser, element } from 'protractor';
import { Utils } from './pages/app.utils';
describe('Zonemaster test GR15 - [A Home button that sends the user to the default simple view]', () => {
const utils = new Utils();
beforeAll(() => {
utils.goTo('preDelegatedDomainCheck');
});
it('should have a link to go to home page', () => {
expect(element(by.css('a.navbar-brand')).getAttribute('routerLink')).toBe('/');
expect(element(by.css('a.navbar-brand')).getAttribute('href')).toBe(browser.baseUrl + '/');
});
});