Expected: clicking the MAIN tile opens RED, although it has no stock.
Expected: clicking the MAIN tile opens BLUE.
Expected: clicking the MAIN tile opens BLUE (cheapest with stock).
Expected: clicking the MAIN tile opens GREEN.
Expected: clicking the MAIN tile opens YELLOW.
Expected: listing shows the grey MAIN tile, price "from 9.99".
Expected: listing shows BLACK, 19.99.
Expected: listing shows BLUE, 14.99 (Red is cheaper but sold out).
Expected: listing shows GREEN, 24.99 (200 sales).
Expected: listing shows YELLOW, 29.99 (stock 500).
Expected: listing shows RED, 9.99 (nothing in stock, falls back to the plain cheapest).
Expected: listing shows five tiles, one per colour.
Expected: listing shows five tiles, one per colour.
Expected: listing shows five tiles, one per colour.
Expected: listing shows five tiles, one per colour.
Expected: listing shows five tiles, one per colour.
Expected: listing shows BLUE. Red is cheaper and has 1 in stock, but its minimum purchase is 2.
Expected: listing shows BLACK. Green sells best and has 1 in stock, but its minimum purchase is 2.
Expected: listing shows GREEN. Yellow has 500 in stock, but its minimum purchase is 600.
Expected: listing shows YELLOW, 4.99 (advanced price for every customer, regular price 29.99).
Expected: guests see BLUE, 14.99. Logged-in customers see YELLOW, 4.99.
Expected: listing shows GREEN, "from 7.99" (24.99 for 1-9 pieces, 7.99 from 10 pieces).
Expected: clicking the MAIN tile opens YELLOW, 4.99.
Expected: clicking the RED tile lands on YELLOW, 4.99.