init project

This commit is contained in:
root
2026-06-25 19:06:59 -04:00
parent c5dfee6efb
commit 5d017f533a
349 changed files with 31330 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
import { expect, test } from '@playwright/test';
test('server shell remains readable with JavaScript disabled', async ({ browser }) => {
const context = await browser.newContext({ javaScriptEnabled: false, colorScheme: 'dark' });
const page = await context.newPage();
await page.goto('/ar');
await expect(page.locator('html')).toHaveAttribute('lang', 'ar');
await expect(page.locator('html')).toHaveAttribute('dir', 'rtl');
await expect(page.locator('h1')).toBeVisible();
await expect(page.locator('footer')).toBeVisible();
await context.close();
});