Skip to content

chore(tests): Extend test workflows and bug fixes for v0.3.2#24

Merged
vertefra merged 5 commits intomasterfrom
release-0.3.2
Jan 30, 2026
Merged

chore(tests): Extend test workflows and bug fixes for v0.3.2#24
vertefra merged 5 commits intomasterfrom
release-0.3.2

Conversation

@vertefra
Copy link
Contributor

Summary

This PR includes comprehensive test workflow enhancements, bug fixes, and code quality improvements for the v0.3.2 release.

Changes

Test Improvements

  • Extensive Sleep On It test coverage - Added 394+ lines of new test scenarios in sleeponit.spec.ts
  • Extended test workflows for close flow, I don't need it, and I need it flows
  • Fixed unintended mocking issues in test setup
  • Enhanced test fixtures and page objects

UI Improvements

  • Added centralized design system (design-system.ts)
  • Refactored UI components for consistency (Button, Header, PauseMenu, PrivacyBadge)
  • Updated styles with new CSS additions
  • Improved view components (BackToAnOldFlame, Celebration, EarlyReturnFromSleep, IDontNeedIt, ProductView, SleepOnIt)

Developer Experience

  • Added agent workflow commands (.cursor/commands/commit.md, .cursor/commands/create-pr.md)
  • Added debug logging for content script
  • Fixed linting and formatting issues across the codebase

Bug Fixes

  • Fixed unintended test mocking
  • Improved product page state hook stability

Modified Files

.cursor/commands/commit.md            | 39 +
.cursor/commands/create-pr.md         | 40 +
components/ui/                        | 90 +-
contents/amazon.tsx                   | 20 +-
design-system.ts                      | 61 +
hooks/useProductPageState.ts          | 84 +-
style.css                             | 36 +
tests/e2e/                           | 509 +
views/                               | 255 +-
29 files changed, 867 insertions(+), 319 deletions(-)

Testing Notes

  • All E2E tests passing
  • Extended test coverage for critical user flows
  • Linting and formatting checks passing

Breaking Changes

None


Review by: @vertefra, @emypeeler

- Remove unused ProductActionManager import from amazon.tsx
- Prefix unused parameters with underscore
- Remove unused React imports from views
- Format test files with Prettier
@vertefra vertefra merged commit c305457 into master Jan 30, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant