Skip to content

Add Playwright tests for menu functionality#1886

Open
stepan-3 wants to merge 1 commit intomasterfrom
stoic-ramanujan
Open

Add Playwright tests for menu functionality#1886
stepan-3 wants to merge 1 commit intomasterfrom
stoic-ramanujan

Conversation

@stepan-3
Copy link
Copy Markdown
Contributor

@stepan-3 stepan-3 commented Jan 24, 2026

Summary

  • Set up Playwright testing framework for automated menu testing
  • Added 23 test cases covering desktop and mobile menu functionality
  • Tests run against docs.wallarm.com (configurable via baseURL)

Test Coverage

Category Tests
Desktop Homepage 7 tests (header, tabs, navigation, logo, language selector, search)
Desktop Documentation 6 tests (sidebar, nav items, active page, expandable sections, links, version selector)
Mobile Menu 6 tests (hamburger, logo, drawer open/close, navigation, expandable sections)
Responsiveness 2 tests (viewport adaptation, search component)
Navigation 2 tests (breadcrumbs, external links)

Usage

npm test                 # Run all tests
npm run test:desktop     # Desktop tests only
npm run test:mobile      # Mobile tests only
npm run test:ui          # Interactive UI mode
npm run test:report      # View HTML report

Test plan

  • All 23 tests pass on desktop-chrome and mobile-chrome projects
  • Review test coverage for additional edge cases

🤖 Generated with Claude Code

Set up Playwright testing framework with 23 test cases covering:
- Desktop homepage: header, tabs, navigation, logo, language selector, search
- Desktop documentation pages: sidebar, nav items, active page, expandable sections, version selector
- Mobile menu: hamburger button, drawer open/close, navigation items
- Responsiveness: viewport adaptation between desktop and mobile

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@netlify
Copy link
Copy Markdown

netlify bot commented Jan 24, 2026

Deploy Preview for pensive-dubinsky-5f7a00 ready!

Name Link
🔨 Latest commit 6f2b501
🔍 Latest deploy log https://app.netlify.com/projects/pensive-dubinsky-5f7a00/deploys/69742e5987c7ce0008cc0f4d
😎 Deploy Preview https://deploy-preview-1886--pensive-dubinsky-5f7a00.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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