fix: edit buttons
All checks were successful
Deploy to Staging / Build Images (push) Successful in 2m33s
Deploy to Staging / Deploy to Staging (push) Successful in 36s
Deploy to Staging / Verify Staging (push) Successful in 6s
Deploy to Staging / Notify Staging Ready (push) Successful in 5s
Deploy to Staging / Notify Staging Failure (push) Has been skipped

This commit is contained in:
Eric Gullickson
2025-12-31 16:07:32 -06:00
parent 52f9414fd4
commit c27959f045
6 changed files with 100 additions and 12 deletions

10
docs/E2E-TESTING.md Normal file
View File

@@ -0,0 +1,10 @@
Test scenarios to verify:
| Test | Year | VIN | License Plate | Expected |
|-------------------------|------|--------------------|---------------|---------------------------|
| 1. Edit bug fix | Any | null (existing) | "TEST-123" | Should save without error |
| 2. Modern + VIN only | 2020 | Valid 17-char | Empty | Should work |
| 3. Modern + plate only | 2020 | Empty | "ABC-123" | Should work |
| 4. Modern + neither | 2020 | Empty | Empty | Should fail validation |
| 5. Pre-1981 + neither | 1970 | Empty | Empty | Should work |
| 6. Pre-1981 + short VIN | 1965 | "ABC123" (6 chars) | Empty | Should work |

View File

@@ -30,10 +30,8 @@ You are a senior software engineer specializsing in NodeJS, Typescript, front en
*** CHANGES TO IMPLEMENT ***
- Research this code base and ask iterative questions to compile a complete plan.
- We will pair troubleshoot this. Tell me what logs and things to run and I will
- There is a bug in the ability to add and edit vehicles
- Change it so the every vehicle older than 1981 does not have a 17 digit VIN requirement.
- Verify the edit logic. When I had a license plate but no VIN, it still said the VIN was required.
- There is a bug in the vehicles screen
- The pencil icon on the vehicle cards does not take you to the edit screen. It does nothing.