test(e2e): set up E2E test infrastructure — nox session, CI job, Robot Framework @E2E tag #785

Merged
freemo merged 1 commit from test/e2e-infrastructure into master 2026-03-12 21:12:28 +00:00
Owner
No description provided.
test(e2e): set up E2E test infrastructure — nox session, CI job, Robot Framework @E2E tag
Some checks failed
CI / benchmark-publish (pull_request) Has been skipped
CI / lint (pull_request) Successful in 15s
CI / build (pull_request) Successful in 17s
CI / quality (pull_request) Successful in 18s
CI / e2e_tests (pull_request) Successful in 29s
CI / typecheck (pull_request) Successful in 39s
CI / lint (push) Successful in 12s
CI / security (pull_request) Successful in 41s
CI / build (push) Successful in 19s
CI / quality (push) Successful in 22s
CI / security (push) Successful in 36s
CI / typecheck (push) Successful in 40s
CI / benchmark-regression (push) Has been skipped
CI / e2e_tests (push) Successful in 53s
CI / unit_tests (push) Successful in 3m13s
CI / integration_tests (pull_request) Successful in 4m5s
CI / docker (push) Successful in 42s
CI / unit_tests (pull_request) Successful in 4m31s
CI / docker (pull_request) Successful in 40s
CI / integration_tests (push) Successful in 5m7s
CI / coverage (pull_request) Successful in 5m41s
CI / coverage (push) Successful in 5m39s
CI / benchmark-publish (push) Has been cancelled
CI / benchmark-regression (pull_request) Successful in 37m35s
d4a1a0d87b
Added dedicated E2E test infrastructure completely separate from the existing
integration test suite. E2E tests use zero mocking — they exercise the real
CleverAgents CLI with real LLM API keys.

Key changes:
- New e2e_tests nox session running Robot Framework with --include E2E tag
  filter against robot/e2e/ directory. Uses sequential robot (not pabot)
  since E2E tests hit real API endpoints with rate limits. Propagates
  ANTHROPIC_API_KEY, OPENAI_API_KEY, and GOOGLE_API_KEY from environment.
  Output goes to build/reports/robot-e2e/ to avoid artifact collisions.
- Existing integration_tests session now excludes E2E-tagged tests via
  --exclude E2E on the pabot invocation.
- New robot/e2e/common_e2e.resource provides shared E2E keywords: suite
  setup/teardown with per-suite isolation (no mock AI), graceful skip when
  LLM API keys are absent, CLI runner keyword, flexible output assertions,
  and temporary git repo fixture creation.
- Minimal smoke test (robot/e2e/smoke_test.robot) validates the harness by
  running agents --version and agents --help. Does not require LLM keys.
- Dedicated e2e_tests CI job in .forgejo/workflows/ci.yml injects LLM API
  keys from Forgejo secrets. Runs independently (no needs dependencies)
  and does not block regular CI.
- e2e_tests is deliberately NOT in the default nox sessions list since it
  requires real API keys not present in all environments.

ISSUES CLOSED: #740
freemo added this to the v3.2.0 milestone 2026-03-12 21:12:06 +00:00
freemo merged commit d4a1a0d87b into master 2026-03-12 21:12:28 +00:00
freemo deleted branch test/e2e-infrastructure 2026-03-12 21:12:28 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
cleveragents/cleveragents-core!785
No description provided.