|
3 | 3 | - [x] Implement the fix requested in [#209](https://github.com/SenteraLLC/ulabel/issues/209). |
4 | 4 | - [x] Build the fix and ensure the build succeeds by running `npm run build`. |
5 | 5 | - [x] Receive confirmation that the fix works as expected. |
| 6 | +- [x] Configure Jest to suppress verbose stack traces (added --noStackTrace flag) |
| 7 | +- [x] Fix class ID test to check ID is not in existing list (implementation-agnostic) |
| 8 | +- [x] Increase max workers from 1 to 2 (reduced test time from 200s+ to ~23s) |
| 9 | +- [ ] Fix remaining unit test failures (6 failures, 14 passed) |
| 10 | + - Spatial payload tests need DOM mocking |
| 11 | + - ID payload tests need DOM mocking |
| 12 | + - Note: Some error messages contain minified code context - this is expected when testing against dist/ulabel.js |
| 13 | +- [x] Refactor e2e tests to use utility functions |
| 14 | + - [x] Create init_utils.js with wait_for_ulabel_init |
| 15 | + - [x] Create annotation_utils.js with get_annotation_count, get_annotation_by_index, get_all_annotations |
| 16 | + - [x] Create mode_utils.js with switch_to_mode |
| 17 | + - [x] Create subtask_utils.js with get_current_subtask_key, switch_to_subtask, get_subtask_count |
| 18 | + - [x] Update basic-functionality.spec.js to use new utilities |
| 19 | + - [x] All 6 basic functionality tests passing |
| 20 | +- [x] Refactor tests/ folder to use snake_case naming convention |
| 21 | + - [x] Updated all utility function names to snake_case |
| 22 | + - [x] Updated all variable names in e2e tests to snake_case |
| 23 | + - [x] Updated all variable names in unit tests to snake_case |
| 24 | + - [x] Updated all variable names in setup.js to snake_case |
| 25 | + - [x] Updated all variable names in utility files to snake_case |
| 26 | + - [x] Verified unit tests pass (14 passed) |
| 27 | + - [x] Verified e2e tests pass (6 passed) |
0 commit comments