Site: e2e for language switch, link targets and revealed downloads

This commit is contained in:
ZacharyZhang-NY committed 2026-10-09 00:03:57 -04:00
1 parent 0a01845db9
commit f017ef38c4
3 files changed
+125 -1

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ const top = (page: Page, name: string) =>
return (document.querySelector(`.block[data-part="${n}"]`)!.getBoundingClientRect().top + scrollY) / scale;
}, name);
/** A point where the building is hit; `low` takes the lowest. */
/** A point that hits the building; `low` picks the lowest. */
const spot = (page: Page, name: string, low = false) =>
page.evaluate(
([n, low]) => {