mirror of
https://github.com/zonemaster/zonemaster-gui.git
synced 2026-01-19 20:44:13 +01:00
14 lines
476 B
TypeScript
14 lines
476 B
TypeScript
import { test, expect } from './global-setup';
|
|
|
|
import { goToHome, setLang } from './utils/app.utils';
|
|
|
|
test.describe('Zonemaster test FR01 - [A Home button that sends the user to the default simple view]', () => {
|
|
test.beforeEach(async ({ page }) => {
|
|
await goToHome(page);
|
|
await setLang(page, 'en');
|
|
});
|
|
|
|
test('should have a link to go to home page', async ({ page }) => {
|
|
await expect(page.locator('a.zm-logo')).toHaveAttribute('href', '/en/');
|
|
});
|
|
});
|