reftests: Make label-text-shadow-changes-modify-clip test more reliable

This test was failing in continuous, where the tests are running
in a VM with disabled animations. Make the test adapt to that
situation by changing the rui on the fly if we find that animations
are disabled.
This commit is contained in:
Matthias Clasen
2016-01-31 14:08:35 -05:00
parent 2423eb11e3
commit 1e0ca71eca
2 changed files with 19 additions and 0 deletions

View File

@ -20,6 +20,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Hello World</property>
<signal name="map" handler="reftest:add_reference_class_if_no_animation" swapped="no"/>
</object>
<packing>
<property name="expand">False</property>