MultiGreeter tests fail with Qt 5.3

Bug #1332488 reported by Albert Astals Cid on 2014-06-20
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity8 (Ubuntu)
Michael Terry

Bug Description

Something has changed in Qt with how it interprets the html used in those tests.

Need to check if it's ok (and adapt the tests) or if we need to complain to Qt and fix it there

FAIL! : qmltestrunner::MultiGreeter::test_html_info_prompt() property text
   Actual (): <b>&</b>
   Expected (): &lt;b&gt;&amp;&lt;/b&gt;
   Loc: [/home/tsdgeos_work/phablet/unity8/unity8/tests/qmltests/Greeter/tst_MultiGreeter.qml(297)]

FAIL! : qmltestrunner::MultiGreeter::test_long_info_prompt() property text
   Actual (): Welcome to Unity Greeter

We like to annoy you with super ridiculously long messages.
Like this one

This is the last line of a multiple line message.
   Expected (): Welcome to Unity Greeter<br><br>We like to annoy you with super ridiculously long messages.<br>Like this one<br><br>This is the last line of a multiple line message.
   Loc: [/home/tsdgeos_work/phablet/unity8/unity8/tests/qmltests/Greeter/tst_MultiGreeter.qml(303)]

FAIL! : qmltestrunner::MultiGreeter::test_multi_info_prompt() property text
   Actual (): Welcome to Unity Greeter<br>This is an error<br>You should have seen three messages
   Expected (): Welcome to Unity Greeter<br><font color="#df382c">This is an error</font><br>You should have seen three messages
   Loc: [/home/tsdgeos_work/phablet/unity8/unity8/tests/qmltests/Greeter/tst_MultiGreeter.qml(312)]

Related branches

Changed in unity8:
importance: Undecided → High
assignee: nobody → Michael Terry (mterry)
Michał Sawicz (saviq) on 2014-06-20
Changed in unity8:
status: New → Triaged
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity8 - 7.89+14.10.20140627-0ubuntu1

unity8 (7.89+14.10.20140627-0ubuntu1) utopic; urgency=low

  [ Michael Terry ]
  * Fix path in launcher mock after moving our mock icons, to avoid a
    lot of "icon not found" warnings during qmluitests.
  * Fix the testMultiGreeter qmluitest. Incoming method variables are
    apparently read-only in Qt5.3. (LP: #1332488)

  [ CI bot ]
  * Resync trunk

  [ Michał Sawicz ]
  * Adapt scope mock to new api and quiet unused variable warnings.
  * Fix dynamic overlay height. (LP: #1334879)
  * Don't center items in CardVerticalJournal, kind of beats the
    purpose... Also don't bind unnecessarily.

  [ Ying-Chun Liu ]
  * Fix LP:1330957 Fix some failed test cases. (LP: #1330957)

  [ Albert Astals ]
  * Don't seem to need this waitForRendering And makes test fail in 5.3
 -- Ubuntu daily release <email address hidden> Fri, 27 Jun 2014 08:47:58 +0000

Changed in unity8 (Ubuntu):
status: New → Fix Released
Michał Sawicz (saviq) on 2014-06-27
Changed in unity8:
status: Triaged → Fix Released
Michał Sawicz (saviq) on 2017-03-13
Changed in unity8 (Ubuntu):
assignee: nobody → Michael Terry (mterry)
importance: Undecided → High
no longer affects: unity8
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers