Skip to content

test: add webapp first-run e2e coverage - #36

Merged
c4pt0r merged 1 commit into
masterfrom
test/webapp-first-run-e2e-v2-cindy
May 11, 2026
Merged

test: add webapp first-run e2e coverage#36
c4pt0r merged 1 commit into
masterfrom
test/webapp-first-run-e2e-v2-cindy

Conversation

@c4pt0r

@c4pt0r c4pt0r commented May 11, 2026

Copy link
Copy Markdown
Owner

Summary

  • add opt-in docs/webapp E2E pytest coverage for the first-run guide and integrated webapp startup
  • register an e2e pytest marker
  • update integrated webapp missing-dist guidance and webapp/setup.sh from npm install to npm ci
  • wire the docs/webapp E2E lane into scripts/e2e/run-core-e2e.sh
  • update docs/e2e.md to describe lane overlap and the expanded core harness coverage

E2E coverage

Task #27 covers the docs/webapp E2E lane:

  • first-run guide command parity
  • source server make dev config fallback command
  • uv sync --extra webapp
  • integrated webapp missing-dist fail-fast path
  • real npm ci && npm run build
  • real uv run agfs-shell --webapp subprocess with HTTP fetch of /
  • scripts/e2e/run-core-e2e.sh now runs this lane as part of the shared gate

Review

Cross-review PASS from @dev-2 in Slock task #27. Final review used the v2 patch that integrates with the task #24 shared harness.

Verification

  • git diff --check HEAD~1..HEAD
  • PYTHONPATH=. .venv/bin/python -m pytest tests/test_webapp_server.py tests/test_docs_webapp_e2e.py -v --timeout=15 -> 2 passed, 1 skipped
  • AGFS_RUN_E2E=1 PYTHONPATH=. .venv/bin/python -m pytest tests/test_docs_webapp_e2e.py -v --timeout=180 -> 1 passed
  • scripts/e2e/run-core-e2e.sh -> core e2e passed, including docs/webapp lane

Part of stability issue #21. Closes task #27.

@c4pt0r
c4pt0r merged commit 9549a40 into master May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant