Menu

A QA checklist for portrait uploads in browser AI tools
📰

A QA checklist for portrait uploads in browser AI tools

DEV Community: frontend·zz wang·3 days ago
#E1pDdF0c
#devtofrontend#devto#dev#preview#portrait
Long article (367 words) — no AI summary yet.
Reading 0:00
15s threshold

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.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.