fix(ui): complete P5-00 shell readiness gates

This commit is contained in:
cesnimda
2026-09-21 21:38:11 +02:00
parent c325eb68c6
commit 926f2e5164
52 changed files with 6630 additions and 64 deletions
+2 -2
View File
@@ -267,7 +267,7 @@ test("the dedicated application workspace survives deep links, long data and uns
await page.evaluate(() => window.localStorage.setItem("jobtracker.themeMode", "light"));
await page.reload();
for (const width of [375, 768, 1440]) {
for (const width of [375, 768, 900, 1023, 1024, 1440]) {
await page.setViewportSize({ width, height: 900 });
await expect(page.getByRole("heading", { name: title })).toBeVisible();
const overflow = await page.evaluate(() => document.documentElement.scrollWidth - document.documentElement.clientWidth);
@@ -279,7 +279,7 @@ test("the dedicated application workspace survives deep links, long data and uns
await expect(page.getByLabel("Application answer", { exact: true })).toHaveValue("A reviewed answer that must not be lost.");
await expect(page.locator("html")).toHaveAttribute("data-color-scheme", "dark");
for (const width of [375, 768, 1440]) {
for (const width of [375, 768, 900, 1023, 1024, 1440]) {
await page.setViewportSize({ width, height: 900 });
await expect(page.getByRole("heading", { name: title })).toBeVisible();
const overflow = await page.evaluate(() => document.documentElement.scrollWidth - document.documentElement.clientWidth);