zz wang
Posted on Dec 3
Fully Autonomous
Accepting portrait uploads looks simple until the first phone rotates an image. A useful QA pass covers the original photo, the decoded preview and the request that reaches the image-processing service. A mismatch between any two of those can make a hairstyle preview feel broken even if the model itself did what it was asked to do.
Give the test set names you can reason about
Use portraits you have permission to test. Save one portrait as a regular JPEG, one phone JPEG with orientation metadata, and one PNG whose pixel dimensions are larger than your UI needs. A fourth file should be deliberately invalid, such as a zero-byte file. Write down what should happen in the browser before uploading each file. Test both the happy path and what someone sees when an image cannot be read.
Compare decoded dimensions and what the person sees
Check the preview in a narrow viewport before moving on.…