The geography exercises are static pages. Their browser tests use Node.js, Playwright Test, and Chromium.
-
Install Node.js 20 or later (npm is included).
-
Install the dependencies and browser:
npm ci npx playwright install chromium
-
Run the tests from the repository root:
npm test
GitHub Actions runs the tests on pull requests and pushes to main. A
successful test run from a push to main triggers a separate workflow to
deploy the site to GitHub Pages.