RadiaCode-Spectrometer/ESP32-S3-Touch/_archive_previous_project/QUICK_TEST_GUIDE.md

2.4 KiB

Quick Testing Guide - Properties Panel Fixes

What Was Fixed

✅ Color picker now shows changes
✅ Text input no longer reverts while typing
✅ Position changes now display correctly
✅ All property changes persist after Apply


Quick Test (5 minutes)

Step 1: Color Change Test

1. Open Builder tab
2. Select any element (e.g., a button)
3. In Properties panel, find Color input
4. Click color box → Pick a new color
5. Click "Apply Changes"
✓ EXPECTED: Color field shows your new color
✓ Refresh page → Color should persist

Step 2: Text Edit Test

1. Select a Label or Button element
2. In Text property, clear and type: "Hello World"
✓ EXPECTED: Text stays "Hello World" while typing
✓ EXPECTED: Text doesn't disappear after 5 seconds
3. Click "Apply Changes"
✓ EXPECTED: Text field still shows "Hello World"
✓ Click canvas to deselect, re-select element
✓ EXPECTED: Text field shows "Hello World"

Step 3: Position Change Test

1. Select any element
2. In X property, change to 100
3. In Y property, change to 50
4. Click "Apply Changes"
✓ EXPECTED: X and Y show your new values
✓ Canvas shows element in new position
✓ Refresh page → Position persists

Step 4: Rapid Edit Test

1. Select a button
2. Quickly change:
   - Text to "NEW"
   - Color to red
   - X to 150
   - Size to 200x80
✓ EXPECTED: No fields revert or disappear
3. Click "Apply Changes" once
✓ EXPECTED: All changes apply
4. Refresh page
✓ EXPECTED: ALL changes persisted

What to Watch For

✅ Working (Should See)

  • Properties update after clicking Apply
  • Text input stays filled while typing
  • Colors appear in the color box
  • Positions show correct numbers
  • Changes persist after page refresh

❌ Not Working (Should NOT See)

  • "No selection" message while element is selected
  • Text disappearing while typing
  • Color changes not showing in form
  • Position numbers reverting
  • Changes lost after refresh

If Something Still Doesn't Work

Please tell me:

  1. What action caused the problem (e.g., "clicked Apply")
  2. What happened vs what you expected
  3. Any console errors (F12 → Console tab)
  4. Which property wasn't working (color/text/position/size/etc)

Timeline

  • Build: ✅ Succeeded
  • Upload: ✅ Completed
  • Status: Ready to test on device

Go ahead and test these! The fixes are now on your device. 🚀