Branch: feat/implement-firestore-adapter
Priority: High
Estimate: 1-2 hours
Parent Epic: #1
Dependencies: #2
Description
Migrate Firestore adapter with Lytics-specific schema to the internal package. This adapter writes test results and runs to Firestore collections for dashboard visualization and trend analysis. It includes retry logic and proper error handling for production reliability.
Acceptance Criteria
Technical Requirements
- Migrate
FirestoreAdapter.ts implementing ResultAdapter interface
- Update imports to use
@lytics/playwright-reporter
- Configure
publishConfig for GitHub Packages
- Add error handling for network failures and auth issues
- Document Firestore collections schema
- Add examples for local development vs CI environment
Files to Migrate
src/reporter/adapters/FirestoreAdapter.ts → packages/adapters-internal/src/firestore/FirestoreAdapter.ts
Branch:
feat/implement-firestore-adapterPriority: High
Estimate: 1-2 hours
Parent Epic: #1
Dependencies: #2
Description
Migrate Firestore adapter with Lytics-specific schema to the internal package. This adapter writes test results and runs to Firestore collections for dashboard visualization and trend analysis. It includes retry logic and proper error handling for production reliability.
Acceptance Criteria
ResultAdapterinterface from@lytics/playwright-reportertest_runs,individual_test_runs,latest_test_cases) correctlyTechnical Requirements
FirestoreAdapter.tsimplementingResultAdapterinterface@lytics/playwright-reporterpublishConfigfor GitHub PackagesFiles to Migrate
src/reporter/adapters/FirestoreAdapter.ts→packages/adapters-internal/src/firestore/FirestoreAdapter.ts