Skip to content

Revert "General/fix tests" - #93

Merged
YuliaDemir merged 1 commit into
developfrom
revert-92-general/fix-tests
Jul 13, 2026
Merged

Revert "General/fix tests"#93
YuliaDemir merged 1 commit into
developfrom
revert-92-general/fix-tests

Conversation

@YuliaDemir

@YuliaDemir YuliaDemir commented Jul 13, 2026

Copy link
Copy Markdown
Collaborator

Reverts #92

Summary by CodeRabbit

  • Tests
    • Added coverage for generating, displaying, copying, and invalidating cURL commands in the Swagger viewer.
    • Improved header tests to verify navigation elements and scroll-based styling through rendered output.
  • Chores
    • Reorganized test setup configuration without changing its behavior.

@vercel

vercel Bot commented Jul 13, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
swagger-editor-app Ready Ready Preview, Comment Jul 13, 2026 10:14pm

@coderabbitai

coderabbitai Bot commented Jul 13, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: fe7e355f-bdd7-4925-9065-7166774b13de

📥 Commits

Reviewing files that changed from the base of the PR and between 4617552 and 9eeb82e.

📒 Files selected for processing (3)
  • src/components/header/header.test.tsx
  • src/components/swagger-viewer/swagger-viewer.test.tsx
  • vitest.config.ts

📝 Walkthrough

Walkthrough

Tests were updated for rendered Header toolbar behavior and navigation mocks, while SwaggerViewer coverage now verifies cURL generation, clipboard copying, success feedback, and invalidation. Vitest setup configuration ordering was also adjusted.

Changes

Test coverage updates

Layer / File(s) Summary
Header rendering and scroll behavior
src/components/header/header.test.tsx
Header mocks and assertions now validate navigation test IDs, translated links, and expanded or compact toolbar styles.
SwaggerViewer cURL flow coverage
src/components/swagger-viewer/swagger-viewer.test.tsx, vitest.config.ts
Tests cover cURL generation, clipboard copying, success feedback, and invalidation after query changes; Vitest setup entry ordering is adjusted.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Possibly related PRs

Suggested labels: feature-7-general

Suggested reviewers: alyaengineer, lexarudak, ivan-khodorov

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch revert-92-general/fix-tests

Comment @coderabbitai help to get the list of available commands.

@YuliaDemir
YuliaDemir merged commit 36e0537 into develop Jul 13, 2026
2 of 3 checks passed
@AlyaEngineer
AlyaEngineer deleted the revert-92-general/fix-tests branch July 13, 2026 23:33
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.

1 participant