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