6 Commits

Author SHA1 Message Date
Peter Hanssens
ce2ac12bdf fix: Improve sidebar toggle test logic to handle initial state
- Check initial sidebar visibility state before toggling
- Test that sidebar state actually changes after toggle click
- Handle both cases: sidebar initially visible or hidden
- This should fix the remaining sidebar toggle test failure
2025-09-23 21:27:32 +10:00
Peter Hanssens
dd97daa16b fix: Use correct sidebar locator based on actual HTML structure
- Change from generic nav/sidebar selectors to specific div.w-64.bg-card.border-r.border-border
- This matches the actual sidebar structure in the demo source code
- Should fix the remaining sidebar toggle test failure
2025-09-23 21:21:06 +10:00
Peter Hanssens
f33e05ba6e fix: Optimize Playwright installation and fix click interception issues
- Remove --with-deps flag from Playwright browser installation to speed up CI
- Install only Chromium browser to reduce installation time
- Fix sidebar locator to use more reliable navigation selectors
- Add force: true to button clicks to avoid element interception issues
- Improve test reliability for theme toggle and counter interactions
2025-09-23 20:29:41 +10:00
Peter Hanssens
a203dad5fc fix: Improve Playwright locator specificity for better test reliability
- Fix sidebar locator to use specific CSS classes instead of text matching
- Fix metric cards locator to target grid container children
- Fix recent activity timestamp locators to be more specific
- Resolve strict mode violations and element count mismatches
2025-09-23 20:10:50 +10:00
Peter Hanssens
84160f2309 fix: Resolve Playwright test locator specificity issues
- Fix 'strict mode violation' errors by using more specific locators
- Replace generic text locators with element-specific selectors
- Use CSS class selectors for dropdown menu and sidebar
- Use element type selectors (h3, p) for better specificity
- Add .first() method to handle multiple matching elements
- Improve test reliability and reduce false positives
2025-09-23 19:58:34 +10:00
Peter Hanssens
7f4486b6f0 Add comprehensive demo with CI/CD pipeline
- Complete GitHub Actions workflow for demo deployment
- Playwright test suite with 50+ tests
- Performance monitoring and accessibility testing
- Cross-browser compatibility testing
- Local deployment scripts and documentation
2025-09-23 19:12:15 +10:00