Skip to main content

PREVIEWS_AND_CHECKS

Constant PREVIEWS_AND_CHECKS 

Source
const PREVIEWS_AND_CHECKS: &str = "\
get_preview_link returns read-only URLs, valid about 2 hours, no login needed, of staged state or, with nothing staged, of the published pages: without page or pages, one URL for all pages the changeset adds or changes (all course pages when nothing is staged), which the preview page lists and opens one at a time (?page=<id> picks one); page or pages gives a URL per page. Open it with your own browser tooling (playwright-cli) in a desktop or mobile viewport and check: render and console errors, LaTeX errors (.katex-error), broken links and images, and accessibility (axe). The preview shows each exercise's name, task instructions and review instructions, but not the exercise itself to answer, and has no chapter navigation; the changeset URL lists the changed pages and renders the Pages in chapter list on chapter front pages. Checks are expected before a changeset is published.";