Skip to content

test: add Playwright E2E test suite with 14 tests (#97)#200

Merged
Mosas2000 merged 1 commit intomainfrom
test/e2e-playwright
Feb 27, 2026
Merged

test: add Playwright E2E test suite with 14 tests (#97)#200
Mosas2000 merged 1 commit intomainfrom
test/e2e-playwright

Conversation

@Mosas2000
Copy link
Copy Markdown
Owner

Changes

New Files

  • playwright.config.js — Chromium browser, vite preview web server on port 4173, headless mode
  • e2e/app.spec.js — 14 end-to-end test scenarios

Test Suites (14 tests)

  • Landing Page (5): Hero branding, connect wallet button, CTA, network indicator, footer links
  • Theme Toggle (2): Accessible toggle button, click behavior
  • Responsive Layout (3): Mobile 375px, tablet 768px, desktop 1440px
  • Page Performance (2): Load time <10s, no console errors on initial load
  • Accessibility (2): Navigation landmarks, button accessible names

Dependencies

  • @playwright/test added as dev dependency

All 14 E2E tests passing

Closes #97

- Install @playwright/test with Chromium browser
- Add playwright.config.js with vite preview web server
- Test landing page: branding, connect wallet button, hero CTA, network indicator, footer
- Test theme toggle: accessibility and click behavior
- Test responsive layout: mobile (375px), tablet (768px), desktop (1440px)
- Test performance: page load time <10s, no console errors
- Test accessibility: navigation landmarks, button accessible names
@Mosas2000 Mosas2000 merged commit e4c4bdb into main Feb 27, 2026
1 of 4 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.

Add end-to-end test suite with Playwright or Cypress

1 participant