Skip to content

Component integration tests #361

Description

@ldt1996

Feature Summary

New integrationTests/components/ directory. Single node: deploy component from GitHub, seed data, hit endpoints, assert responses. Runs on PR + merge to main. Covers the functional logic layer for all five components:

  • risk-query
  • redirector
  • early-hints
  • acl-connect
  • ecommerce-template

Problem This Solves

Component regressions are currently caught through manual QA. These tests automate that coverage so breakages in core Harper that affect components are caught in CI before they reach production.

Proposed Solution

One test file per component in integrationTests/components/. Each test uses harperLifecycle.ts to start a local harper instance, deploys the component via deploy_component , polls until ready, runs functional assertions against the HTTP API.

Priority/Impact

High - critical for user success

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Fields

Priority

None yet

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions