mirror of
https://github.com/zonemaster/zonemaster-gui.git
synced 2026-04-03 17:31:21 +02:00
19 lines
535 B
TypeScript
19 lines
535 B
TypeScript
import { by, browser, element } from 'protractor';
|
|
|
|
import { Utils } from './utils/app.utils';
|
|
|
|
describe('Zonemaster test FR05-en - [Supports English language]', () => {
|
|
const utils = new Utils();
|
|
beforeAll(() => {
|
|
utils.goToHome();
|
|
});
|
|
|
|
it('should have English language button', () => {
|
|
expect(element(by.xpath('//a[@lang="en"]')).isPresent()).toBe(true);
|
|
});
|
|
|
|
it('should switch to English', () => {
|
|
utils.setLang('en');
|
|
expect(element(by.xpath('//h1[.="Domain name"]')).isPresent()).toBe(true);
|
|
});
|
|
});
|