mirror of
https://github.com/zonemaster/zonemaster-gui.git
synced 2026-04-03 17:31:21 +02:00
17 lines
549 B
TypeScript
17 lines
549 B
TypeScript
import { by, browser, element } from 'protractor';
|
|
|
|
import { Utils } from './utils/app.utils';
|
|
|
|
describe('Zonemaster test FR01 - [A Home button that sends the user to the default simple view]', () => {
|
|
const utils = new Utils();
|
|
beforeAll(() => {
|
|
utils.goToHome();
|
|
utils.setLang('en');
|
|
});
|
|
|
|
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 + '');
|
|
});
|
|
|
|
});
|