feat(11-02): UIE-01 edit modal — Edit button per row, Pico dialog, E2E tests

- Create printer_edit_modal.html: native dialog with HTMX PATCH form, Alpine.js portEdited=true
- Update printer_list.html Actions td: include edit modal partial before Delete button
- Create tests/e2e/test_printer_edit.py: modal open/pre-fill and submit/list-update E2E tests
- Fix E2E row targeting to use locator(tr, has=a:has-text) for session-scoped server safety
This commit is contained in:
2026-04-15 11:10:44 +02:00
parent 4db15d6986
commit 7b948b68c3
3 changed files with 164 additions and 0 deletions
@@ -31,6 +31,7 @@
<td>{{ p.paper_size }}</td>
<td>{{ 'Yes' if p.collate else 'No' }}</td>
<td>
{% include "partials/printer_edit_modal.html" %}
<button
hx-delete="/printers/{{ p.id }}"
hx-target="#printer-list"