Johannes Klein
2dd07809fc
Unit test to check that POs and OFVs end up in Zustand store
2026-09-15 19:45:26 +02:00
Johannes Klein and Johannes Klein
425adedce6
Traditional projects: Hide required fields success banner when none are ( #4028 )
...
* Show PO validation banner only when there are required fields
* Test that AddToProjects does not show a status banner when a selected project has only optional fields
* It shows the incomplete required-fields banner when a required field is empty
* it shows completed required-fields banner when all required fields are filled
---------
Co-authored-by: Johannes Klein <17345891+jtklein@users.noreply.github.com >
2026-09-08 19:14:51 +02:00
Johannes Klein
791a5c458a
Test that AddToProjects shows a pencil icon on the project row
2026-08-26 00:20:26 +02:00
Johannes Klein
5527768b43
Test that AddToProjects renders POFs in order of position
2026-08-26 00:13:59 +02:00
Johannes Klein
7787bcf298
that it persists only completed projects when LEAVE is pressed
2026-08-20 22:35:05 +02:00
Johannes Klein
922b41bd3d
that it navigates back when LEAVE is pressed from SAVE with incomplete selections
2026-08-20 22:30:20 +02:00
Johannes Klein
7b6ab2b8b1
that it keeps editing when Missing info sheet is dismissed
2026-08-20 22:29:24 +02:00
Johannes Klein
ca790e15ed
Test that AddToProjects shows Missing info sheet when SAVE is pressed with an empty required field
2026-08-20 22:28:36 +02:00
Johannes Klein
2d0cac89bc
Code style
2026-08-20 22:13:51 +02:00
Johannes Klein
1e394d2712
Change test to soft-deletes only the deselected synced project observation
2026-08-13 13:43:45 +02:00
Johannes Klein
7691c04b68
Update test that checks for marking pending delete
2026-08-13 13:43:45 +02:00
Johannes Klein
b31eab47be
Remove projectObservationUuidsToDelete from tests
2026-08-13 13:43:23 +02:00
Johannes Klein
f14a0f1054
merges newly deselected synced PO uuids with a prior delete list on SAVE
2026-08-04 16:48:43 +02:00
Johannes Klein
41966ca1b8
Split press to de-select a project into separate test
2026-08-04 16:44:17 +02:00
Johannes Klein
da32e5a394
persists project selection to Zustand and navigates back on SAVE
2026-08-04 16:31:00 +02:00
Johannes Klein
bc33bd98a5
Find elements by text
2026-08-04 16:25:50 +02:00
Johannes Klein
c279e95838
also check for expanded chooser being shown
2026-08-04 16:16:31 +02:00
Johannes Klein
d641a7928b
Default local OF is no longer required, so the checked project is valid here
2026-08-04 16:12:48 +02:00
Johannes Klein
1cd6f31d32
enables SAVE after project selection changes
2026-08-04 15:58:23 +02:00
Johannes Klein
f9584751ec
disables SAVE when project selection is unchanged
2026-08-04 15:57:03 +02:00
Johannes Klein
ec15cd3923
Test that AddToProjects renders existing project observations as checked
2026-08-04 15:56:05 +02:00
Johannes Klein
57a54bc552
Add before each for store setting
2026-08-04 15:53:42 +02:00
Johannes Klein
f4cb778575
Mock goBack
2026-08-04 15:49:24 +02:00
Johannes Klein
42b41105c1
Remove references to shared test helpers
2026-08-04 15:46:46 +02:00
Johannes Klein
d0a3900400
Link ticket in TODO
2026-07-15 16:25:55 +02:00
Johannes Klein
12d0e37186
Turn one test back to a todo (this is not wired yet correctly)
2026-07-15 16:18:27 +02:00
Johannes Klein
cf775c5899
Refactor test store setup to helper
2026-07-07 14:21:21 +02:00
Johannes Klein
750a686358
Add empty OFV array to test obs
2026-07-07 14:13:26 +02:00
Johannes Klein
827e0a682d
Check for selected projects showing expanded chooser UI
2026-07-01 15:08:33 +02:00
Johannes Klein
4d48489652
Check for initial checked state
2026-07-01 15:03:43 +02:00
Johannes Klein
6a5a4178b8
Add an initial PO to test zustand store
2026-07-01 14:58:07 +02:00
Johannes Klein
eca776f975
Code style
2026-07-01 14:36:25 +02:00
Johannes Klein
1df7b9cbad
Test for list items being rendered
2026-07-01 14:28:51 +02:00
Johannes Klein
b3034f4a27
Test for stable footer and header
2026-07-01 14:27:55 +02:00
Johannes Klein
65495d3813
Create AddToProjects.test.js
2026-07-01 14:23:04 +02:00