Which front-end testing type provides the MOST direct risk coverage for a complete user checkout flow spanning multiple components?
-
A
Unit tests for individual utility functions
-
B
End-to-end (E2E) tests simulating the full browser interaction
-
C
Snapshot tests for static component rendering
-
D
Performance tests measuring bundle parse time