Skip to content

implement Cypress end-to-end testing for APAP and MCP smoke coverage#148

Open
ibrahimmahdy684 wants to merge 1 commit intoaccordproject:mainfrom
ibrahimmahdy684:e2e-cypress-testing
Open

implement Cypress end-to-end testing for APAP and MCP smoke coverage#148
ibrahimmahdy684 wants to merge 1 commit intoaccordproject:mainfrom
ibrahimmahdy684:e2e-cypress-testing

Conversation

@ibrahimmahdy684
Copy link
Copy Markdown

@ibrahimmahdy684 ibrahimmahdy684 commented Mar 27, 2026

This PR implements Cypress-based end-to-end testing for APAP and MCP server behavior, focused on first-pass smoke coverage through real HTTP flows.

Implementation details

  1. Added Cypress configuration for server-level E2E execution at cypress.config.ts
  2. Added smoke tests at apap-mcp-smoke.cy.ts.
  3. Added E2E scripts in package.json: test:e2e, test:e2e:open, test:e2e:local
  4. Isolated Cypress from main TypeScript build in tsconfig.json to avoid type-scope conflicts.
  5. Added Cypress artifact ignores in .gitignore.

Coverage implemented in this PR

  1. APAP smoke check:( Capabilities endpoint returns expected response.)
  2. MCP smoke check:( Invalid request without valid session is rejected with expected error response.)

Validation run

  1. npm test
  2. npm run test:e2e:local

closes #147

Signed-off-by: ibrahimmahdy684 <ibrahim.elmahdy@Student.giu-uni.de>
@github-actions
Copy link
Copy Markdown

This PR is stale because it has been open 15 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@github-actions github-actions bot added the Stale label Apr 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing end-to-end coverage for APAP and MCP HTTP workflows

1 participant