Follow the copy pass: tests, docs, version, SW
The pushed copy pass renames the library heading to "Your freezer"
("Tvůj mrazák" in Czech) and reworks the gate subtitle plus several
Czech strings. Five suites pinned the old heading — regression, i18n,
native, wizard and providers — and now assert the new one; the README
prose and project tree follow. Key parity is unchanged.
Version 0.5.9, SW -> freezmo-v81.
This commit is contained in:
parent
236ad9d552
commit
8153fc8dae
8 changed files with 17 additions and 10 deletions
|
|
@ -46,7 +46,7 @@ const browser = await launchBrowser();
|
|||
await page.waitForTimeout(500);
|
||||
await page.keyboard.press("Escape");
|
||||
await page.waitForTimeout(600);
|
||||
check("locale switch to English updates the UI", await page.getByRole("heading", { name: "Your icebox" }).isVisible());
|
||||
check("locale switch to English updates the UI", await page.getByRole("heading", { name: "Your freezer" }).isVisible());
|
||||
await context.close();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -119,7 +119,7 @@ const browser = await launchBrowser();
|
|||
await page.waitForTimeout(700);
|
||||
await page.goBack();
|
||||
await page.waitForTimeout(600);
|
||||
check("back: returns from the Progress tab", await page.getByRole("heading", { name: "Your icebox" }).isVisible());
|
||||
check("back: returns from the Progress tab", await page.getByRole("heading", { name: "Your freezer" }).isVisible());
|
||||
|
||||
await page.locator("nav.tabbar").getByRole("button").click();
|
||||
await page.getByRole("dialog").waitFor({ timeout: 6000 });
|
||||
|
|
|
|||
|
|
@ -262,7 +262,7 @@ try {
|
|||
await page.waitForTimeout(2200);
|
||||
check(
|
||||
"gate: a saved provider key lets the app through",
|
||||
await page.getByRole("heading", { name: "Your icebox" }).isVisible(),
|
||||
await page.getByRole("heading", { name: "Your freezer" }).isVisible(),
|
||||
);
|
||||
check(
|
||||
"gate: the provider became the study-generation model",
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ const browser = await launchBrowser();
|
|||
await page.goto(BASE, { waitUntil: "networkidle" });
|
||||
await page.waitForTimeout(900);
|
||||
|
||||
check("library title", await page.getByRole("heading", { name: "Your icebox" }).isVisible());
|
||||
check("library title", await page.getByRole("heading", { name: "Your freezer" }).isVisible());
|
||||
const sidebar = page.getByRole("complementary", { name: "Sidebar" });
|
||||
for (const row of ["New deck", "New homework", "All decks", "Unorganized", "Biology", "Progress", "Exam mode", "Settings"]) {
|
||||
check(`sidebar row: ${row}`, (await sidebar.getByText(row, { exact: true }).count()) >= 1);
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ for (const viewport of [{ width: 390, height: 844 }, { width: 360, height: 740 }
|
|||
await sampleBar(page, "empty state → create");
|
||||
await page.getByRole("button", { name: "Cancel" }).click();
|
||||
await page.waitForTimeout(600);
|
||||
check("Cancel returns to the library", await page.getByRole("heading", { name: "Your icebox" }).isVisible());
|
||||
check("Cancel returns to the library", await page.getByRole("heading", { name: "Your freezer" }).isVisible());
|
||||
|
||||
await page.getByRole("link", { name: "Homework", exact: true }).click();
|
||||
await page.waitForTimeout(600);
|
||||
|
|
@ -151,7 +151,7 @@ for (const viewport of [{ width: 390, height: 844 }, { width: 360, height: 740 }
|
|||
check("reduced: step 1 usable", await page.getByRole("heading", { name: "Your notes" }).isVisible());
|
||||
await page.getByRole("button", { name: "Cancel" }).click();
|
||||
await page.waitForTimeout(400);
|
||||
check("reduced: cancel works", await page.getByRole("heading", { name: "Your icebox" }).isVisible());
|
||||
check("reduced: cancel works", await page.getByRole("heading", { name: "Your freezer" }).isVisible());
|
||||
await context.close();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue