fix(webui): reorder appearance settings and trim preview

This commit is contained in:
chengyongru authored and chengyongru committed 2026-11-12 17:23:14 +08:00
1 parent 0ce10533d3
commit c3403e6a6f
14 files changed
+31 -27

No files matched your search

+7
View File
@@ -4,6 +4,13 @@ test.beforeEach(async ({ page }) => {
await page.route("**/api/**", (route) => route.abort());
});
test("appearance puts interface settings before activity display", async ({ page }) => {
await page.goto("/browser/fixture.html?case=appearance");
await expect(page.locator(".appearance-page > section > h2")).toHaveText([
"Theme", "Reading", "Interface", "Activity display",
]);
});
test("system theme stays live, explicit choices persist, and tabs agree", async ({ page, context }) => {
await page.emulateMedia({ colorScheme: "light" });
await page.goto("/browser/fixture.html?case=appearance");