Public bug reported:

Running the messaging-app autopilot tests, we get 20 out of 27 tests
failing. The majority of them due to not being able to find 'Label'
objects. This appears to be because Label has changed to UCLabel in a
recent version of messaging-app. Below is a typical traceback from one
of the failures:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/messaging_app/tests/test_messaging.py", 
line 290, in test_delete_message_swipe_right
    self.main_view.send_message([phone_num], message)
  File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
    return f(instance, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/messaging_app/emulators.py", line 392, 
in send_message
    thread_bubble = self.get_message(message)
  File "/usr/lib/python3/dist-packages/messaging_app/emulators.py", line 68, in 
get_message
    '{}'.format(text))
messaging_app.emulators.EmulatorException: Could not find message with the text 
delete me okay

phablet@ubuntu-phablet:~$ system-image-cli -i
current build number: 164
device name: krillin
channel: ubuntu-touch/rc-proposed/bq-aquaris.en
last update: 2015-11-04 10:36:00
version version: 164
version ubuntu: 20151104
version device: 20150821-736d127
version custom: 20150925-901-35-40-vivid

Attached is a subunit file with all the results from the run - it can be
best viewed with the 'trv' application:
https://launchpad.net/~thomir/+archive/ubuntu/trv

** Affects: messaging-app (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "messaging.subunit"
   
https://bugs.launchpad.net/bugs/1513044/+attachment/4512708/+files/messaging.subunit

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1513044

Title:
  autopilot tests failing, unable to find 'Label'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/messaging-app/+bug/1513044/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to