Greeter tests fail and can't be discerned

Bug #1322233 reported by Michał Sawicz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity8 (Ubuntu)
Fix Released
Critical
Andrea Cimitan

Bug Description

The greeter tests (testTablet and testPhone) are currently failing in trunk.

On top of that, they're named testPhone and testTablet, which makes it difficult to discern them - and they both have name: "Greeter" in the test suite, making it even worse.

testTablet fails:

FAIL! : qmltestrunner::Greeter::test_two_factor_wrong2() property placeholderText
   Actual (): Password
   Expected (): otp
   Loc: [/home/michal/dev/canonical/unity8/repo/tests/qmltests/Greeter/tst_Tablet.qml(244)]
FAIL! : qmltestrunner::Greeter::test_unlock_password() 'wait for signal unlocked' returned FALSE. ()
   Loc: [/home/michal/dev/canonical/unity8/repo/tests/qmltests/Greeter/tst_Tablet.qml(136)]
FAIL! : qmltestrunner::Greeter::test_two_factor_correct() property echoMode
   Actual (): 2
   Expected (): 0
   Loc: [/home/michal/dev/canonical/unity8/repo/tests/qmltests/Greeter/tst_Tablet.qml(211)]
FAIL! : qmltestrunner::Greeter::test_no_response() property enabled
   Actual (): true
   Expected (): false
   Loc: [/home/michal/dev/canonical/unity8/repo/tests/qmltests/Greeter/tst_Tablet.qml(194)]

testPhone fail:

FAIL! : qmltestrunner::Greeter::test_statsWelcomeScreen() Uncaught exception: Cannot read property 'username' of undefined
   Loc: [/usr/lib/x86_64-linux-gnu/qt5/qml/QtTest/TestCase.qml(680)]

Related branches

Michał Sawicz (saviq)
Changed in unity8:
assignee: nobody → Andrea Cimitan (cimi)
Revision history for this message
Michał Sawicz (saviq) wrote :

I can only reliably reproduce two of the Tablet failures now... can't get the Phone to fail at all.

Revision history for this message
Andrea Cimitan (cimi) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity8 - 7.88+14.10.20140606-0ubuntu1

---------------
unity8 (7.88+14.10.20140606-0ubuntu1) utopic; urgency=low

  [ Michał Sawicz ]
  * Make lockscreen buttons translatable.

  [ Albert Astals ]
  * Correctly mark these functions as overrides
  * Remove connections to non existant signal
  * Better test name
  * Improvements for headerless categories LVPWH: No section name -> no
    header LVPWH: New hasSectionHeader context property for delegates
    GSV: Add topMargin if no hasSectionHeader (LP: #1326415)
  * Make tryVerticalJournal, tryHorizontalJournal and tryOrganicGrid
    work again

  [ Michael Zanetti ]
  * Don't crash when we get an invalid app from ApplicationManager (LP:
    #1309162)

  [ Andrea Cimitan ]
  * Workaround for lp1324159 (LP: #1322233, #1324159)

  [ CI bot ]
  * Resync trunk

  [ Florian Boucault ]
  * Application startup: changed splash rectangle to be black instead of
    white and added a neat little animation. (LP: #1124265)
 -- Ubuntu daily release <email address hidden> Fri, 06 Jun 2014 11:38:53 +0000

Changed in unity8 (Ubuntu):
status: New → Fix Released
Michał Sawicz (saviq)
Changed in unity8:
status: Triaged → Fix Released
Michał Sawicz (saviq)
Changed in unity8 (Ubuntu):
assignee: nobody → Andrea Cimitan (cimi)
importance: Undecided → Critical
no longer affects: unity8
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.