fix(ui): complete P5-00 shell readiness gates
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user