Add Chromium end-to-end test and fix level list styling

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
denis
2026-10-14 22:31:56 +02:00
parent 496ba4e19f
commit cd59bbbf5f
6 changed files with 143 additions and 5 deletions
+5 -1
View File
@@ -5,7 +5,7 @@ VENV := .venv
VENV_PY := $(VENV)/bin/python
PORT ?= 8000
.PHONY: help install vendor-pyodide dev validate-levels build test test-js test-python test-backend typecheck clean
.PHONY: help install vendor-pyodide dev validate-levels build test test-js test-python test-backend test-e2e typecheck clean
help: ## Affiche cette aide
@grep -E '^[a-z-]+:.*##' $(MAKEFILE_LIST) | awk -F':.*## ' '{printf " %-16s %s\n", $$1, $$2}'
@@ -41,6 +41,10 @@ test-backend: $(VENV)/.installed ## Tests du backend Django (nécessite Django d
$(VENV)/bin/pip install --quiet -r backend/requirements.txt
cd backend && ../$(VENV_PY) manage.py test
test-e2e: ## Tests bout en bout dans Chromium (CHROMIUM=/chemin/navigateur)
npm --prefix tests/e2e install --silent
node --test tests/e2e/e2e.test.mjs
typecheck: $(VENV)/.installed ## Vérifie les types Python avec pyright
$(VENV)/bin/pyright