mirror of
https://github.com/zonemaster/zonemaster-gui.git
synced 2026-04-03 17:31:21 +02:00
19 lines
715 B
TypeScript
19 lines
715 B
TypeScript
import { by, browser, element } from 'protractor';
|
|
|
|
import { Utils } from './pages/app.utils';
|
|
|
|
describe('Zonemaster test GR12 - [The undelegated view should look the same in latest version of different browsers]', () => {
|
|
const utils = new Utils();
|
|
beforeAll(() => {
|
|
utils.goTo('preDelegatedDomainCheck');
|
|
});
|
|
|
|
it('should match the preDelegatedDomainCheck page', () => {
|
|
expect(browser.protractorImageComparison.checkScreen('preDelegatedDomainCheck')).toBeLessThan(1);
|
|
});
|
|
it('should not match the preDelegatedDomainCheck page', () => {
|
|
element(by.css('.switch')).click();
|
|
expect(browser.protractorImageComparison.checkScreen('preDelegatedDomainCheck')).not.toBeLessThan(1);
|
|
});
|
|
|
|
});
|