Commit Graph
15 Commits
Author SHA1 Message Date
Matthew Raymer 499d35b22b feat(tests): Add structured logging and screenshot capture
Enhances test debugging capabilities by adding:
- Structured logging with timestamps and categories (INFO/STEP/SUCCESS/WAIT)
- Systematic screenshot capture at key test steps
- Comprehensive file documentation headers
- Improved error handling with visual state capture
- Organized test step numbering and progress tracking

Key improvements:
- Added screenshot helper function with consistent naming
- Ensured test-results directory exists before captures
- Replaced console.log with structured logging utility
- Added try-catch blocks with failure state capture
- Improved debugging info for gift button not found error

Tests affected:
- 35-record-gift-from-image-share.spec.ts
- 40-add-contact.spec.ts

Note: Screenshots are stored in test-results/ with test-specific prefixes
2025-02-15 12:50:54 +00:00
Matthew Raymer d16d52ddb7 Touch up gitignore 2025-02-14 11:00:27 +00:00
Matthew Raymer d8c1a84cfe WIP (fix): improve electron build configuration and service worker handling
- Properly disable service workers in electron builds
- Add CSP headers for electron security
- Fix path resolution in electron context
- Improve preload script error handling and IPC setup
- Update build scripts for better electron/capacitor compatibility
- Fix router path handling in electron context
- Remove electron-builder dependency
- Streamline build process and output structure

This change improves the stability and security of electron builds while
maintaining PWA functionality in web builds. Service workers are now
properly disabled in electron context, and path resolution issues are
fixed.
2025-02-12 13:17:25 +00:00
Matthew Raymer 1be5c530c5 chore: update gradle and android build tool versions
- Update gradle wrapper from 8.9 to 8.10.2
- Update android build tools from 8.7.3 to 8.8.0
- Maintain build compatibility with latest tooling

These updates ensure the Android build process uses the latest stable
versions of the build tools and gradle wrapper.
2025-02-12 08:28:32 +00:00
Matthew Raymer 15783cdbe6 (chore): cleaning up formatting and relative references 2025-02-06 14:08:54 +00:00
Matthew Raymer 52cbe81f23 (chore): merge mostly pathway changes 2025-02-06 13:34:48 +00:00
Matthew Raymer abf2756807 Merge branch 'master' into split_build_process
fix: update import paths from alias to relative

- Replace @ alias imports with relative paths in HiddenDidDialog and UserProfileView
- Maintain consistent import style across components
- Improve build compatibility across different environments

This change helps ensure consistent module resolution across different
build targets including Capacitor and Electron builds.
2025-02-04 03:50:31 +00:00
Matthew Raymer 2a7178db53 Merge changes 2025-02-03 13:27:36 +00:00
Matthew Raymer aa4edb9742 Fixes for APP_SERVER definition issue 2025-01-12 03:47:33 +00:00
Matthew Raymer 9c4129b5a0 Merge branch 'master' into split_build_process 2025-01-12 00:05:16 +00:00
Matthew Raymer 6903a02df6 Merge fixes 2025-01-11 12:45:43 +00:00
Matthew Raymer a64e281808 Android Capacitor configurations 2025-01-10 11:04:59 +00:00
Matthew Raymer 76e6b42f99 Updates for cleanup 2025-01-08 01:25:34 +00:00
Matthew Raymer ff4e23517b Multi-build support; tested successfully for Electron 2025-01-07 09:40:31 +00:00
Matthew Raymer 8b77d2b573 Refatored vite.config to be a bit more streamlined before adding alternate build options. This did end up requiring me to remove @ from imports for some reason. Tests came out fine. 2025-01-05 08:38:15 +00:00