feat: add full Zonemaster stack with Docker and Spanish UI
- Clone all 5 Zonemaster component repos (LDNS, Engine, CLI, Backend, GUI) - Dockerfile.backend: 8-stage multi-stage build LDNS→Engine→CLI→Backend - Dockerfile.gui: Astro static build served via nginx - docker-compose.yml: backend (internal) + frontend (port 5353) - nginx.conf: root redirects to /es/, /api/ proxied to backend - zonemaster-gui/config.ts: defaultLanguage set to 'es' (Spanish) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
24
zonemaster-gui/e2e/FR10.e2e-spec.ts
Normal file
24
zonemaster-gui/e2e/FR10.e2e-spec.ts
Normal file
@@ -0,0 +1,24 @@
|
||||
import { test, expect } from './global-setup';
|
||||
|
||||
import { goToHome, clearBrowserCache } from './utils/app.utils';
|
||||
|
||||
test.describe('Zonemaster test FR10 - [On launching the URL opens with a default simple view]', () => {
|
||||
test.beforeEach(async ({ page }) => {
|
||||
await goToHome(page);
|
||||
await clearBrowserCache(page);
|
||||
});
|
||||
|
||||
test('should have [Run domain test] label visible', async ({ page }) => {
|
||||
await expect(page.locator('h1', { hasText: 'Check how your domain is doing'})).toBeVisible();
|
||||
});
|
||||
|
||||
test('should have [Options] label visible and NOT selected', async ({ page }) => {
|
||||
await expect(page.locator('#advanced-toggle-label', { hasText: 'Show options' })).toBeVisible();
|
||||
await expect(page.locator('#advanced-toggle')).toHaveAttribute('aria-expanded', 'false');
|
||||
});
|
||||
|
||||
|
||||
test('should have options NOT visible', async ({ page }) => {
|
||||
await expect(page.locator('#advanced-options')).toHaveAttribute('hidden');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user