test(e2e): migrate smoke and onboarding scenarios#5054
Conversation
Signed-off-by: Carlos Villela <cvillela@nvidia.com>
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
E2E Advisor RecommendationRequired E2E: Dispatch hint: Full advisor summaryE2E Recommendation AdvisorBase: Required E2E
Optional E2E
New E2E recommendations
Dispatch hint
|
E2E Scenario Advisor RecommendationRequired scenario E2E: Dispatch required scenario E2E:
Full scenario advisor summaryE2E Scenario AdvisorBase: Required scenario E2E
Optional scenario E2E
Relevant changed files
|
PR Review AdvisorFindings: 0 needs attention, 0 worth checking, 0 nice ideas Consider writing more tests for
This is an automated advisory review. A human maintainer must make the final merge decision. |
…ariant-fixtures' into codex/e2e-fanout-03-smoke-onboarding-scenarios
|
Closing as superseded by #5106 and the post-#5098 one-E2E migration plan. This branch belongs to the pre-cutover fanout stack. Any useful helper/scenario work should come back as a fresh, focused draft PR from current main: Vitest as the only E2E harness, GitHub Actions as the matrix, no revived runner path, no long-lived legacy-inventory.json roadmap expansion, and replacement/deletion evidence carried in the PR body plus linked issue. |
Summary
Migrate the smoke/onboarding family from placeholder status into registry-backed live Vitest coverage.
This PR expands the live Vitest scenario runner so onboarding fixtures can execute the supported smoke/onboarding variants directly from typed scenario metadata. It also keeps the legacy typed shell runner aligned for the migrated negative onboarding paths until that runner is retired.
Related Issue
Refs #4941
Refs #4990
Refs #4348
Depends on #5046, #5052, and #5053.
Stacked on branch
codex/e2e-fanout-02-onboarding-variant-fixtures.Changes
NVIDIA_API_KEYfor the invalid-key negative scenario; both the Vitest fixture path and shell dispatcher path injectnot-a-nvidia-key.scenario-result.jsonfor negative live scenarios.cloud-openclaw-gateway-port-conflict, with validation and cleanup coverage.test/e2e-scenario/**from the regularcliVitest project so live scenario tests remain opt-in throughe2e-scenarios-live.Type of Change
Verification
npx biome check --write test/e2e-scenario/framework-tests/e2e-onboard-dispatch.test.ts test/e2e-scenario/nemoclaw_scenarios/onboard/dispatch.shnpx vitest run --project e2e-scenario-framework test/e2e-scenario/framework-tests/e2e-onboard-dispatch.test.ts --silent=false --reporter=default-> 1 file, 3 tests passednpx prek run --files test/e2e-scenario/nemoclaw_scenarios/onboard/dispatch.sh test/e2e-scenario/framework-tests/e2e-onboard-dispatch.test.ts --skip test-clinpx vitest run --project e2e-scenario-framework --silent=false --reporter=default-> 27 files, 340 tests passednpm run typecheck:cligit diff --check2c149cab786a809d3f41fc21b2bbfe88277e5217are green, includingstatic-checks,build-typecheck,cli-tests,plugin-tests,macos-e2e,wsl-e2e, CodeQL, E2E recommendation, and PR review advisor.ubuntu-repo-cloud-openclaw— run27235877649ubuntu-no-docker-preflight-negative— run27235876285ubuntu-repo-cloud-openclaw-resume— run27235883637ubuntu-repo-cloud-openclaw-repair— run27235882301ubuntu-repo-cloud-openclaw-double-same-provider— run27235880807ubuntu-repo-cloud-openclaw-custom-policies— run27235879233ubuntu-invalid-nvidia-key-negative— run27235874787ubuntu-gateway-port-conflict-negative— run27235873305ubuntu-invalid-nvidia-key-negative— run27238468247on head2c149cab786a809d3f41fc21b2bbfe88277e5217; log shows expected failure{ "phase": "onboarding", "errorClass": "invalid-nvidia-api-key" },gateway-absentandsandbox-absentstate-validation actions, andnegative-contract: passed.ubuntu-no-docker-preflight-negative— run27235876305ubuntu-gateway-port-conflict-negative— run27237583030after shell bridge hardeningnpm run docsbuilds without warnings (doc changes only)Note: the full touched-file commit hook remains blocked in this local environment by unrelated SSH signing failures inside
test/release-latest-tag.test.tstemporary git repositories. The relevant touched-file hooks were run with--skip test-cli, and the full framework/typecheck/CI checks above passed.Signed-off-by: Carlos Villela cvillela@nvidia.com