Skip to content

Conversation

@rjborba
Copy link
Collaborator

@rjborba rjborba commented Mar 24, 2025

Overview

This PR introduces a comprehensive end-to-end testing infrastructure using Cypress to ensure our UI components work correctly across all demo applications.

Key Changes

  • Added a new GitHub workflow (.github/workflows/e2e.yml) for automated E2E test execution
  • Created a dedicated e2e-tests package with Cypress configuration and test suites
  • Implemented tests for the SearchBox component functionality
  • Added support for API mocking to enable consistent test execution

Test Coverage

  • Input handling and validation
  • Modal behavior (opening/closing)
  • Search suggestions display
  • Search results rendering
  • Chat/summary functionality

Technical Details

  • Custom Cypress commands for common operations
  • Mock API responses via fixtures
  • Shadow DOM traversal for testing web components
  • Test assertions for visual elements and interaction flows

This implementation establishes a foundation for expanding our test coverage to ensure the reliability of our UI component library across all framework integrations.

@vercel
Copy link

vercel bot commented Mar 24, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
orama-ui-components-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 28, 2025 2:17am

@rjborba rjborba merged commit 0991f71 into main Mar 28, 2025
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.

2 participants