Update homepage routes to include language and mode
Build & Deploy / Build & Push Docker Image (push) Successful in 2m51s
Test / Type Check (all packages) (push) Successful in 52s
Build & Deploy / Deploy to VPS (push) Successful in 4s
Test / API Unit Tests (push) Successful in 49s
Test / Homepage Unit Tests (push) Successful in 44s
Test / Storefront Unit Tests (push) Successful in 39s
Test / Admin Unit Tests (push) Successful in 40s
Test / Dashboard Unit Tests (push) Successful in 40s
Test / API Integration Tests (push) Successful in 1m0s

This commit is contained in:
root
2026-07-02 14:10:17 -04:00
parent 56c3bcf666
commit 781512399b
51 changed files with 792 additions and 344 deletions
@@ -31,7 +31,7 @@ for (const scenario of scenarios) {
sameSite: 'Lax',
},
]);
await page.goto(`/${scenario.locale}`);
await page.goto(`/${scenario.locale}/${scenario.theme}`);
await expect(page).toHaveScreenshot(`${scenario.name}.png`, { fullPage: true });
});
}
@@ -49,7 +49,7 @@ test('mobile navigation open baseline', async ({ page }) => {
sameSite: 'Lax',
},
]);
await page.goto('/ar');
await page.goto('/ar/dark');
await page.getByRole('button', { name: 'فتح قائمة التنقل' }).click();
await expect(page).toHaveScreenshot('mobile-ar-dark-navigation-open.png', { fullPage: true });
});
@@ -57,7 +57,7 @@ test('mobile navigation open baseline', async ({ page }) => {
test('keyboard focus baseline', async ({ page }) => {
test.skip(test.info().project.name !== 'chromium');
await page.setViewportSize({ width: 1440, height: 900 });
await page.goto('/en');
await page.goto('/en/light');
await page.keyboard.press('Tab');
await expect(page).toHaveScreenshot('desktop-en-light-focus.png', { fullPage: true });
});