/** * 1103/11-02. The Debian/Ubuntu packages that hold the four faces the visual * goldens were captured with. `tests/visual/fonts.conf` shows Chromium only * their directories, Playwright's `--with-deps` does not install them, and * `tests/visual/fonts.setup.ts` fails with this list when one is missing. The * CI browser step (`scripts/generate-ci-workflow.ts`) installs the same list, * so the hint and the runner cannot name different packages. */ export const VISUAL_TEST_FONT_PACKAGES = Object.freeze([ "fonts-noto-core", "fonts-noto-cjk", "fonts-noto-cjk-extra", "fonts-liberation", ] as const); export const VISUAL_TEST_FONT_INSTALL_ARGUMENTS = `apt-get install -y ${VISUAL_TEST_FONT_PACKAGES.join(" ")}`;