Matthew Raymer
d943983bf8
refactor: improve feed loading and infinite scroll reliability
- Add debouncing and loading state to InfiniteScroll component to prevent duplicate entries
- Refactor updateAllFeed into smaller, focused functions for better maintainability
- Add proper error handling and type assertions
- Optimize test performance with networkidle waits and better selectors
- Fix strict mode violations in Playwright tests
- Clean up test configuration by commenting out unused browser targets
1 month ago
Trent Larson
5606f2a18a
bump test timeout to 45 seconds, mostly for #33 with many records
1 month ago
Trent Larson
42413045c5
add back Chrome & Mobile Safari for testing
2 months ago
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 months ago
Trent Larson
03161744b5
enable remainder of the devices for full UI tests
3 months ago
Trent Larson
811fddf24a
fix error setting the apiServer to "", plus some refactors while fixing test 40
3 months ago
Trent Larson
c9c3cacfbd
fix image server references for tests (2 tests failing: missing function & looking for registration prompt for unregistered user)
3 months 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.
3 months ago
Trent Larson
5f39beef55
run the tests on a different port (so there's no conflict when running the development server)
4 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.
4 months ago
Trent Larson
bb3807a805
switch the encryption secret from localStorage to IndexedDB (because localStorage gets lost so often)
5 months ago
Trent Larson
f7fd568c60
add tests for gives to & from projects
5 months ago
Trent Larson
45214eabc5
adjust tests for new onboarding messages
7 months ago
Trent Larson
98afa8a259
refactor invite link & add test
7 months ago
Trent Larson
9e98a9ab43
add test for new name-entry & copy-to-clipboard flow
9 months ago
Trent Larson
2d450e6455
add test for registration of new user
9 months ago
Trent Larson
67b0122d5a
fix tests
9 months ago
Trent Larson
a5248af4a3
move contact actions into the details page (prepping for checkboxes)
9 months ago
Trent Larson
b922675491
misc commentary
9 months ago
Trent Larson
53e77e46dd
fix list of offers (and some other lists), and add tests for offers
9 months ago
Trent Larson
bdb544a624
fix error sharing image and failing to upload, fix upload in webkit/safari, and test it
9 months ago
Trent Larson
1ca61d72c9
comment out a breaking test on local data & enhance those instructions
9 months ago
Trent Larson
77ce5c8ca7
add a config for local testing, plus add mobile testing and some instructions
9 months ago
Jose Olarte III
cd3cbda801
Switched to baseURL
10 months ago
Jose Olarte III
6e82db7cff
Updated test directory
10 months ago
Jose Olarte III
14c501d124
Playwright install
10 months ago