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

17 lines
650 B
TypeScript

import { by, browser, element } from 'protractor';
import { Utils } from './pages/app.utils';
describe('Zonemaster test GR10 - [The preDelegatedDomainCheck view should have a shortcut to undelegated view and FAQ]', () => {
const utils = new Utils();
beforeAll(() => {
utils.goTo('preDelegatedDomainCheck');
});
it('should have a link to the inactive domain check page', () => {
expect(element(by.css('a.nav-link[routerlink="/preDelegatedDomainCheck"]')).isPresent()).toBe(true);
});
it('should have a link to the FAQ page', () => {
expect(element(by.css('a.nav-link[routerlink="/faq"]')).isPresent()).toBe(true);
});
});