Matthew Raymer
e0aded04b4
refactor: Replace console logging with logger utility
- Add logger import across multiple view components
- Replace console.error/warn/log with logger methods
- Update error handling to use structured logging
- Improve type safety for error objects
- Add crypto-browserify polyfill for browser environment
The changes improve logging by:
1. Using consistent logging interface
2. Adding structured error logging
3. Improving error type safety
4. Centralizing logging configuration
5. Fixing browser compatibility issues
Affected files:
- Multiple view components
- vite.config.ts
- Build configuration
2 days ago
Trent Larson
03161744b5
enable remainder of the devices for full UI tests
3 weeks ago
Trent Larson
811fddf24a
fix error setting the apiServer to "", plus some refactors while fixing test 40
3 weeks ago
Trent Larson
c9c3cacfbd
fix image server references for tests (2 tests failing: missing function & looking for registration prompt for unregistered user)
3 weeks ago
Matthew Raymer
f07a2de565
fix(tests): Improve gift recording test reliability
- Add better error handling and logging for gift recording flow
- Add explicit navigation to contacts page before finding gift button
- Add info icon click handling when needed
- Add more comprehensive button detection with multiple selectors
- Add debug logging for page state and navigation
- Add screenshot capture on failures
- Add retry logic with proper state verification
- Fix linter errors in playwright config
The changes help diagnose and handle various UI states that can occur during gift recording, making the tests more reliable especially on Linux.
4 weeks ago
Trent Larson
5f39beef55
run the tests on a different port (so there's no conflict when running the development server)
2 months ago
Matthew Raymer
be8ba12df6
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.
2 months ago
Trent Larson
bb3807a805
switch the encryption secret from localStorage to IndexedDB (because localStorage gets lost so often)
3 months ago
Trent Larson
f7fd568c60
add tests for gives to & from projects
3 months ago
Trent Larson
45214eabc5
adjust tests for new onboarding messages
5 months ago
Trent Larson
98afa8a259
refactor invite link & add test
5 months ago
Trent Larson
9e98a9ab43
add test for new name-entry & copy-to-clipboard flow
7 months ago
Trent Larson
2d450e6455
add test for registration of new user
7 months ago
Trent Larson
67b0122d5a
fix tests
7 months ago
Trent Larson
a5248af4a3
move contact actions into the details page (prepping for checkboxes)
7 months ago
Trent Larson
b922675491
misc commentary
7 months ago
Trent Larson
53e77e46dd
fix list of offers (and some other lists), and add tests for offers
7 months ago
Trent Larson
bdb544a624
fix error sharing image and failing to upload, fix upload in webkit/safari, and test it
7 months ago
Trent Larson
1ca61d72c9
comment out a breaking test on local data & enhance those instructions
7 months ago
Trent Larson
77ce5c8ca7
add a config for local testing, plus add mobile testing and some instructions
8 months ago
Jose Olarte III
cd3cbda801
Switched to baseURL
8 months ago
Jose Olarte III
6e82db7cff
Updated test directory
8 months ago
Jose Olarte III
14c501d124
Playwright install
8 months ago