test test_switch_to_list_view_mode failing in ci

Bug #1456788 reported by Sergio Cazzolato
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Shorts App
New
Undecided
Unassigned

Bug Description

I can reproduce it in vivid using trunk:

This is the trace:

Traceback (most recent call last):
  File "/home/sergio/workspace/canonical/ubuntu-rssreader-app/bugs/bug2/tests/autopilot/shorts_app/tests/test_rssreader.py", line 87, in test_switch_to_list_view_mode
    self.app.main_view.change_view_mode("isNotListMode")
  File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
    return f(instance, *args, **kwargs)
  File "/home/sergio/workspace/canonical/ubuntu-rssreader-app/bugs/bug2/tests/autopilot/shorts_app/__init__.py", line 266, in change_view_mode
    "StyledItem", objectName="popover_foreground")
  File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 295, in wait_select_single
    return self.select_single(type_name, **kwargs)
  File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 244, in select_single
    raise StateNotFoundError(type_name_str, **kwargs)
autopilot.exceptions.StateNotFoundError: Object not found with name 'StyledItem' and properties {'objectName': 'popover_foreground'}.

Related branches

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.