- 'renders summary table without crash when product has empty colors and locations': mocks getProductSummary returning a product with colors/locations='', verifying the page does not crash and calls the API (reproduces the previously-broken scenario). - 'closes dialog after successful product creation (reload branch reached)': verifies that a successful form submission calls createProduct and the ModalForm closes, confirming onFinish returned true — the same code branch that triggers summaryRef.reload().
Description
No description provided
Languages
TypeScript
98.9%
CSS
0.8%
Dockerfile
0.3%