Fix tests and add changelog
This commit is contained in:
24
CHANGELOG.md
Normal file
24
CHANGELOG.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# Changelog
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
## [Unreleased] - 2026-01-04
|
||||
|
||||
### Fixed
|
||||
- **Tests**: Fixed Playwright drag-and-drop tests to work with dynamically generated note IDs
|
||||
- Changed selectors from hardcoded text (`text=Note 1`) to flexible attribute selectors (`[data-draggable="true"]`)
|
||||
- Updated matchers from `toContain('Note')` to regex patterns `toMatch(/Note \d+/)` to handle unique IDs with timestamps
|
||||
- Replaced UI-based cleanup with API-based cleanup using `request.delete()` for more reliable test cleanup
|
||||
|
||||
### Database
|
||||
- Cleaned up 38 accumulated test notes from the database using MCP memento tool
|
||||
- Retained only essential notes: "test" and 2x "New AI Framework Released"
|
||||
|
||||
### Technical Details
|
||||
- The drag-and-drop functionality itself was working correctly
|
||||
- The issue was in the Playwright tests which expected exact text matches but notes were created with unique IDs (e.g., `test-1767557327567-Note 1`)
|
||||
- Tests now properly handle the dynamic note generation system
|
||||
|
||||
## [Previous Versions]
|
||||
|
||||
See individual commit history for earlier changes.
|
||||
Reference in New Issue
Block a user