Code review comment for lp:~aacid/unity8/fixExpectFail

Revision history for this message
Daniel d'Andrada (dandrader) wrote :

I would rather rewrite that part to avoid polluting the output with those XFAIL messages:

"""
XFAIL : qmltestrunner::DisabledScreenNotice::test_rotation(portrait) Rotation lock set. Expecting automatic rotation to fail.
   Loc: [/home/dandrader/unity8/trunk/tests/qmltests/tst_DisabledScreenNotice.qml(110)]
"""

Like this:

wait(100); // give some time for any rotation to take place
compare(content.rotation, oldRotation);

« Back to merge proposal