Skip to content

feat: E2E tests for vector CRUD operations (PINE-34) - #32

Merged
stepandel merged 4 commits into
masterfrom
feat/pine-34-vector-crud-tests
Feb 4, 2026
Merged

feat: E2E tests for vector CRUD operations (PINE-34)#32
stepandel merged 4 commits into
masterfrom
feat/pine-34-vector-crud-tests

Conversation

@stepandel

Copy link
Copy Markdown
Owner

Summary

Implements E2E tests for vector CRUD operations.

Changes

  • Added data-testid attributes to vector-related components
  • Created comprehensive E2E test suite (e2e/vector-crud.spec.ts)
  • 16 test cases covering create, update, delete (single & bulk)
  • Embedding regeneration dialog tests
  • Keyboard shortcuts (Cmd+Enter, Cmd+Z, Cmd+Backspace)
  • Metadata field management
  • Form validation tests

Closes PINE-34

stepandel and others added 3 commits February 3, 2026 15:50
Implemented complete E2E test suite for metadata filter functionality:

Tests:
- Add/remove metadata filter rows
- Select field, operator, and value
- Apply filters and verify results
- Multiple filters with AND logic
- All operator types: =, !=, >, >=, <, <=, in, not in, exists
- Field type support: string, number, boolean
- Keyboard shortcuts (Enter to search)
- Operator reset on field type change

Infrastructure:
- Playwright configuration for Electron testing
- Test helpers for app lifecycle and filter operations
- Comprehensive documentation (README, IMPLEMENTATION)

Component Updates:
- Added data-testid attributes to MetadataFilterRow
- Added data-testid attributes to QueryToolbar
- Enhanced testability without breaking existing functionality

Configuration:
- Added test scripts to package.json
- Updated .gitignore for test artifacts
- CI-ready configuration with retries and reporting

17 comprehensive test cases covering all metadata filtering features
on the Pinecone provider. Structure ready for Qdrant/Weaviate when
multi-provider support is merged.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Resolved conflicts by:
- Combined test artifacts patterns in .gitignore
- Merged test scripts in package.json, keeping test:build and adding test:e2e:report
- Merged playwright.config.ts with detailed comments and json reporter
- Regenerated pnpm-lock.yaml

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Feb 4, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@stepandel has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 3 minutes and 18 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/pine-34-vector-crud-tests

Comment @coderabbitai help to get the list of available commands and usage tips.

@stepandel
stepandel merged commit 49ec486 into master Feb 4, 2026
2 checks passed
@stepandel
stepandel deleted the feat/pine-34-vector-crud-tests branch February 4, 2026 22:16
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