Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/wxt multi browser support #1

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

fatihsolhan
Copy link
Owner

Description

This PR implements two major changes:

  1. Migration to WXT (Web Extension Tools):
  • Migrated build system from Vite+CRX to WXT for enhanced multi-browser support
  • Implemented WXT storage methods for state management
  • Added cross-browser manifest configurations
  • Reorganized asset directory structure
  • Added support for Firefox and Edge browsers
  • Updated dependencies and build scripts for WXT compatibility
  1. End-to-End Testing Infrastructure:
  • Added Playwright test setup for extension testing
  • Implemented test fixtures for Chrome extension testing
  • Added comprehensive tests for prompts.chat synchronization
  • Added tests for UI interactions and functionality
  • Included tests for verifying prompt alignment with prompts.chat

Type of Change

  • New feature
  • Testing infrastructure
  • Performance improvement

Testing

The changes include extensive testing infrastructure:

WXT Integration Tests:

  • Build verification for Chrome, Firefox, and Edge
  • Storage implementation tests
  • Cross-browser compatibility tests
  • Asset loading verification

E2E Tests:

  • Prompt synchronization with prompts.chat
    • Number of prompts matching
    • Prompt titles matching
    • Content synchronization (skipped pending source of truth decision)
  • UI functionality tests
  • Browser-specific behavior tests

Manual Testing Required:

  • Extension installation on different browsers
  • Storage persistence across browser sessions
  • Cross-browser UI consistency

Screenshots (if applicable)

N/A - Changes are primarily infrastructure and testing related


Note: Some content matching tests are currently skipped pending a decision on the source of truth between CSV and README.md files. This will be addressed in a follow-up PR.

fatihsolhan and others added 4 commits February 13, 2025 00:34
- Migrate build system from Vite+CRX to WXT
- Add support for Firefox and Edge browsers
- Update storage implementation to use WXT storage methods
- Reorganize asset directory structure
- Update manifest configuration for cross-browser compatibility
- Remove legacy configuration files
- Update dependencies for WXT compatibility
- Added browser store icons with status labels
- Improved README layout and documentation
- Updated release workflow to handle Chrome/Edge/Firefox packages
- Added proper file verification and error handling in CI/CD
- Simplified release process documentation
- Set up Playwright test fixtures for Chrome extension testing
- Add tests to verify prompt synchronization with prompts.chat
- Include tests for matching prompt counts and titles
- Add skipped test for content matching pending source of truth decision
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