I was worried about the simulator/test harnesses not using the same 
font, which could introduce intermittent or irrelevant test failures.

On 3/28/14, 11:38 AM, Gareth Aye wrote:
> In apps/clock/test/unit/panels/stopwatch/stopwatch_panel_test.js:
>
>> @@ -224,4 +224,15 @@ suite('Stopwatch.Panel', function() {
>>
>>    });
>>
>> +  test('Stopwatch 100 minutes display', function() {
>> +    panel.setStopwatch(runningSw());
>> +
>> +    assert.ok(!panel.nodes.time.classList.contains('over-100-minutes'));
>> +
>> +    clock.tick(1000 * 60 * 105); // over 100 minutes
>> +    panel.update(); // required due to requestAnimationFrame not being called
>> +
>> +    assert.ok(panel.nodes.time.classList.contains('over-100-minutes'));
>
> Why don't you check the font-size instead to make it a full end-to-end test?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/mozilla-b2g/gaia/pull/17727/files#r11079780>.
>