Skip to content

feat: extend test coverage (15 new tests)#1

Open
PavelShilin89 wants to merge 1 commit intomainfrom
feat/extended-coverage
Open

feat: extend test coverage (15 new tests)#1
PavelShilin89 wants to merge 1 commit intomainfrom
feat/extended-coverage

Conversation

@PavelShilin89
Copy link
Collaborator

@PavelShilin89 PavelShilin89 commented Mar 2, 2026

Summary

  • Add 6 new test files with 15 new tests (total: 34 tests across 11 files)
  • navigation.spec.ts — sidebar sections, link navigation, page heading and title
  • anchors.spec.ts — anchor links integrity, named anchors for deep linking
  • copy-button.spec.ts — code block copy button presence and click handling
  • broken-links.spec.ts — sidebar links return 200, external links reachable
  • page-404.spec.ts — non-existent page handling, navigation still works
  • mobile-viewport.spec.ts — iPhone 12 viewport: page load, no horizontal scroll, code blocks visible
  • Update README with descriptions of all new tests and updated project structure

Test plan

  • All 34 tests pass locally (npx playwright test)
  • CI workflow passes

Add 6 new test files: navigation, anchors, copy-button, broken-links,
page-404, mobile-viewport. Update README with new test descriptions.
Total: 34 tests.
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