zonemaster-gui/e2e/FR08.e2e-spec.ts
2021-12-06 00:33:02 +01:00

15 lines
527 B
TypeScript

import { by, browser, element, ExpectedConditions } from 'protractor';
import { Utils } from './utils/app.utils';
describe('Zonemaster test FR08 - [Presence of a default fallback language - English]', () => {
const utils = new Utils();
beforeAll(async () => {
await utils.goToHome();
await utils.clearBrowserCache();
});
it('should have a fallback language - English', async () => {
await browser.wait(() => ExpectedConditions.presenceOf(element(by.xpath('//h1[.="Domain name"]'))), 5 * 1000);
});
});