Skip to content

test: add E2E tests for Social Feed API and include OpenAPI v3.1 spec fixture#197

Merged
kadykov merged 5 commits into
mainfrom
debranded-openapi-coverage
Jul 5, 2026
Merged

test: add E2E tests for Social Feed API and include OpenAPI v3.1 spec fixture#197
kadykov merged 5 commits into
mainfrom
debranded-openapi-coverage

Conversation

@kadykov

@kadykov kadykov commented Jul 4, 2026

Copy link
Copy Markdown
Owner

This PR expands the e2e test suite to include better coverage.

Credits

The test cases and logic for these additions were inspired by contributions from @kriptoburak in PR #195 and #196

Copilot AI review requested due to automatic review settings July 4, 2026 12:14
@codecov

codecov Bot commented Jul 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@codacy-production

codacy-production Bot commented Jul 4, 2026

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 22 complexity · 0 duplication

Metric Results
Complexity 22
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR expands the E2E spec-loading suite by adding a new local OpenAPI 3.1 fixture (“Social Feed API”) and corresponding tests to validate that the server can load and expose key OpenAPI resources (info, paths, components, security schemes) from that spec.

Changes:

  • Added a new OpenAPI 3.1 JSON fixture for a “Social Feed API” including parameters, schemas, and security schemes.
  • Added E2E tests that load the new fixture and assert expected outputs for openapi://info, openapi://paths, operation details, schema components, and security schemes.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
test/fixtures/social-feed-api.json Adds a new OpenAPI 3.1 spec fixture used by E2E tests.
test/tests/e2e/spec-loading.test.ts Adds a new E2E test block to load and validate resources from the new fixture.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread test/__tests__/e2e/spec-loading.test.ts Outdated
Comment thread test/__tests__/e2e/spec-loading.test.ts Outdated
@kadykov kadykov merged commit a6d75c3 into main Jul 5, 2026
7 checks passed
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.

2 participants