test_uninstall_application randomly fails with CPO error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-system-tests |
New
|
Undecided
|
Unassigned |
Bug Description
test_uninstall_
Traceback (most recent call last):
File "/home/
self.assertIn(
File "/usr/lib/
(self.class.name, name))
AttributeError: Class 'GenericScopeView' has no attribute 'get_applications'.
Most of the time the test works correctly, but this error sometimes makes it incorrectly fail.
The get_applications method is defined in the helper class, so for some reason it is randomly failing to inherit this method.
Should we call out a specific test here? It seems like a general issue with GenericScopeView. I've also seen such traceback as:
Traceback (most recent call last): run.vGbXyz/ build.wbo/ real-tree/ ubuntu_ sanity_ tests/tests/ test_with_ webbrowser. py", line 104, in test_014_webbrowser scope.click_ scope_item( 'predefined' , 'Browser') run.vGbXyz/ deps/usr/ lib/python3/ dist-packages/ autopilot/ introspection/ dbus.py" , line 416, in __getattr__ __class_ _.__name_ _, name))
File "/tmp/adt-
apps_
File "/tmp/adt-
(self.
AttributeError: Class 'GenericScopeView' has no attribute 'click_scope_item'.