MIL-003: Add Docker end to end run and lecture step screenshots #25

Merged
Tirsvad merged 2 commits from mil-003-screenshots-in-docker into main 2026-10-28 09:26:38 +01:00
Owner

MIL-003 Screenshots in Docker: Dockerfile (Python 3.13, Chromium and its driver from Debian, non-root user) and .dockerignore (keeps .env out; the image was checked to contain none), end to end test and screenshot capture under tests/e2e/ (ignored by the default pytest run), the seven lecture step scripts in docs/lecture-steps/, the seven screenshots in docs/screenshots/ and the run log and exit code in docs/e2e-results/. All browser runs happened in the Docker container, none on the host desktop.

Finding: Wikipedia's #articlecount now has two list items; the lecture selector #articlecount a returns the active editors. ADR-0002 (RC-011, Go) keeps it as LECTURE_SELECTOR and uses #articlecount li:nth-of-type(2) a for the article count; the e2e test asserts at least one million. Code review RC-012 against QC-PY-001 (Go). Both reviews: autonomous, AI as stand-in for S01, not independent.

Checked: pytest 10 passed, ruff, mypy --strict clean, Docker run exit code 0.

Closes #11
Closes #12
Closes #13
Closes #14

MIL-003 Screenshots in Docker: `Dockerfile` (Python 3.13, Chromium and its driver from Debian, non-root user) and `.dockerignore` (keeps `.env` out; the image was checked to contain none), end to end test and screenshot capture under `tests/e2e/` (ignored by the default `pytest` run), the seven lecture step scripts in `docs/lecture-steps/`, the seven screenshots in `docs/screenshots/` and the run log and exit code in `docs/e2e-results/`. All browser runs happened in the Docker container, none on the host desktop. Finding: Wikipedia's `#articlecount` now has two list items; the lecture selector `#articlecount a` returns the active editors. ADR-0002 (RC-011, Go) keeps it as `LECTURE_SELECTOR` and uses `#articlecount li:nth-of-type(2) a` for the article count; the e2e test asserts at least one million. Code review RC-012 against `QC-PY-001` (Go). Both reviews: autonomous, `AI as stand-in for S01`, not independent. Checked: `pytest` 10 passed, `ruff`, `mypy --strict` clean, Docker run exit code 0. Closes #11 Closes #12 Closes #13 Closes #14
Tirsvad added 2 commits 2026-10-28 09:26:36 +01:00
Tirsvad merged commit 7ccbd175e5 into main 2026-10-28 09:26:38 +01:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Tirsvad-Udemy-100-days-of-code/048-scrapping-wiki#25