End-to-end (E2E) testing ivverifiká l-applikazzjoni kompleta mill-perspettiva tal-utent — it-test tal-workflows kompleti permezz tas-sistema reali (UI, backend, database) kif l-utent jesperjenzahom. Jipprovdi l-ikbar kunfidenza li s-sistema kollha taħdem, iżda huwa aktar bil-mod u aktar fragili.
X'jagħmel it-test E2E
E2E tests verify COMPLETE user flows through the WHOLE system:
→ simulate a real USER: open the app, click/type, navigate, submit, verify results
→ exercise the FULL stack: UI → backend → database → and back (everything integrated)
→ e.g. "user logs in, adds an item to the cart, checks out, sees confirmation"
→ tests the app as users actually experience it.
