Testing comparisons

Visual vs. functional regression testing

Separate a layout change from a wrong export. Use a stable screenshot baseline for appearance and parse the download to verify the customer outcome.

Did the page layout move, or did it stop producing the correct result?

Use visual regression tests for layout, clipping and appearance under defined rendering conditions. Use functional assertions for what the application does, including which records it writes or downloads. Combine them on critical screens where both appearance and outcome can independently prevent a customer from finishing the job.

Change the layout and the export separately

On a filtered order page, move the Export button below the list while keeping it usable. A screenshot comparison may flag that change. Restore the layout and change the export to include a closed order. The screen could look identical while the file is wrong. Read the CSV and compare the IDs with the fixture to reveal that defect.

Visual vs. functional regression testing
Observed changeVisual comparisonFunctional assertion
Button clipped at narrow widthShows where the control falls outside its container.Exercise whether the user can actually operate it.
Expected redesignReviewer approves a new baseline after inspection.Existing export contents should remain correct.
Extra record in CSVRendered screen may remain identical.Parse the download and compare exact IDs.
Font varies between runnersInvestigate rendering consistency before acceptance.A data check can continue independently.

Make visual differences reviewable

Fix the browser, viewport, operating environment and fixture used for the baseline. Stabilise clocks, animations and variable content when they are outside the requirement. Ask a reviewer to accept intentional visual changes. Keep an unexpected file difference as a functional finding with its expected rows even if every screenshot matches.

Primary documentation

Your next release starts here

Keep building.
Put testing to work.

Give Cue April your next testing challenge. Let your AI quality lead coordinate the checks, so your team can focus on what comes next.

Create account

Create your account, connect a repository and review your proposed setup before approving a run.