Failures on staging in ubuntuuitoolkit.tests.components.test_textinput

Bug #1459632 reported by Cris Dywan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-ui-toolkit (Ubuntu)
Fix Released
Critical
Cris Dywan
Vivid
New
Undecided
Unassigned

Bug Description

At one point many tests from ubuntuuitoolkit.tests.components.test_textinput and ubuntuuitoolkit.tests.custom_proxy_objects.test_textfield started failing in staging.

ubuntuuitoolkit.tests.components.test_textinput.CaretTextInputTestCase.test_caret_hidden_if_empty(header):

17:15:09.899 INFO _launcher:373 - Attempting to launch application '/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher' with arguments '-I /usr/lib/modules /usr/lib/python3/dist-packages/ubuntuuitoolkit/tests/components/test_textinput.header.qml --desktop_file_hint=/home/phablet/.local/share/applications/tmp0b42to5n.desktop -touch' as a normal process
17:15:09.916 INFO _launcher:431 - Launching process: ['/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher', '-testability', '-I', '/usr/lib/modules', '/usr/lib/python3/dist-packages/ubuntuuitoolkit/tests/components/test_textinput.header.qml', '--desktop_file_hint=/home/phablet/.local/share/applications/tmp0b42to5n.desktop', '-touch']
17:15:13.955 DEBUG _common:45 - Moving to object's globalRect coordinates.
17:15:13.956 DEBUG _uinput:485 - Tapping at: 438,121
17:15:30.944 INFO _launcher:544 - waiting for process to exit.
17:15:30.945 INFO _launcher:567 - Killing process 12693
}}}

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/ubuntuuitoolkit/tests/components/test_textinput.py", line 78, in test_caret_hidden_if_empty
    self._assert_not_visible(objectName=cursorName)
  File "/usr/lib/python3/dist-packages/ubuntuuitoolkit/base.py", line 95, in _assert_not_visible
    self.assertThat(object.visible, Eventually(Equals(False)))
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 423, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: After 10.0 seconds test on QQuickImage.visible failed: False != dbus.Boolean(True, variant_level=1)

Related branches

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

This bug was fixed in the package ubuntu-ui-toolkit - 1.3.1534+15.10.20150625-0ubuntu1

---------------
ubuntu-ui-toolkit (1.3.1534+15.10.20150625-0ubuntu1) wily; urgency=medium

  [ Christian Dywan ]
  * Use TextField.write rather than keyboard.type.
  * Update normal.backgroundText in SuruDark to #5D5D5D. Fixes LP: #1413801.
  * Fix "runtest.sh: line 78: [: -eq: unary operator expected]".
  * Consider caret visibility to decide text menu anchor. Fixes LP: #1462419.
  * Remove text from header textinput AP test QML. Fixes LP: #1459632.
  * No deprecation notes for our own components. Fixes LP: #1457528.

  [ Leonardo Arias Fonseca ]
  * Add url protocols to the fake application.
  * Adds a dependency to url-dispatcher-tools in ubuntu-ui-toolkit-autopilot.
  * Use the test launcher for all the toolkit autopilot tests.

  [ Zsombor Egri ]
  * Remove property bindings before property write does it. Fixes LP: #1462738.
  * Introducing StyleHints to provide style specific property changes.
  * Remove ThemeSettings.createStyleComponent() and add styleName to StyledItem.
    Fixes LP: #1458845.

  [ Loïc Molinari ]
  * [UbuntuShape] Computed dfdt factors based on window content orientation.
  * Previous logic was based on screen orientation which is not in sync with
    OrientationHelper.qml. Fixes LP: #1455567.

  [ Timo Jyrinki ]
  * Change -html documentation runtime dependencies into Suggests only to limit
    ubuntu-sdk download size. We're switching to offering only .qch offline
    documentation in SDK (inside of it), and they're being added to the seed.
    Fixes LP: #1461034.
  * Licensecheck started complaining about a person name, change to Canonical.
    Fixes LP: #1464549

  [ Andrea Bernabei ]
  * Modify ListItem.Caption label margins. Fixes LP: #1314672.

  [ Tim Peeters ]
  * Introduce IconButtonStyle.

 -- CI Train Bot <email address hidden> Thu, 25 Jun 2015 04:37:52 +0000

Changed in ubuntu-ui-toolkit (Ubuntu):
status: In Progress → Fix Released
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.