[Bug 1479064] Re: Autopilot test "EnglishDefaultInstallTestCase" fails with Xubuntu i386 Wily daily ISO
Dan Chapman
danchapman1819 at gmail.com
Tue Jul 28 18:25:32 UTC 2015
This will most likely be an issue for all flavors this test is run on.
It looks like the relation between GtkTreeView & AtkTreeView has changed
in a recent Gtk upgrade. It's been over 18 months since the tests were
written :-)
IIRC the current logic will find the languages treeview on the left side
by looking up visible AtkTreeView object in the accessibility tree once
that was found we could compare the object's rect properties with that
of the all the GtkTreeView's, which we could then select the one that
matched. There was no easy way to do this going straight down the Gtk
object tree.
This may have changed now though so it would be worth firing up
autopilot vis once the test has failed.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1479064
Title:
Autopilot test "EnglishDefaultInstallTestCase" fails with Xubuntu i386
Wily daily ISO
Status in ubiquity package in Ubuntu:
Confirmed
Bug description:
I am running the ubiquity autopilot tests on a local machine as described here:
http://bazaar.launchpad.net/~ubuntu-installer/ubiquity/trunk/view/head:/autopilot/README.md
I am using the Xubuntu ISO Image 20150728 for Wily.
The relevant part from the log is:
ERROR testresult:44 - ERROR: ubiquity_autopilot_tests.tests.test_english_default.EnglishDefaultInstallTestCase.test_default_install
/var/local/autopilot//logs//autopilot.log: 17:40:44.883 ERROR testresult:44 - /var/log/syslog: {{{
/var/local/autopilot//logs//autopilot.log: Jul 28 17:40:44 xubuntu kernel: [ 163.143368] input: autopilot-finger as /devices/virtual/input/input5
/var/local/autopilot//logs//autopilot.log: }}}
/var/local/autopilot//logs//autopilot.log: 17:40:44.883 ERROR testresult:44 - Binary attachment: "FailedTestScreenshot" (image/png)
/var/local/autopilot//logs//autopilot.log: 17:40:44.884 ERROR testresult:44 - traceback: {{{
/var/local/autopilot//logs//autopilot.log: Traceback (most recent call last):
/var/local/autopilot//logs//autopilot.log: File "/home/xubuntu/ubiquity-autopilot/autopilot/ubiquity_autopilot_tests/tests/test_english_default.py", line 33, in test_default_install
/var/local/autopilot//logs//autopilot.log: self.welcome_page_tests(lang='English')
/var/local/autopilot//logs//autopilot.log: File "/home/xubuntu/ubiquity-autopilot/autopilot/ubiquity_autopilot_tests/tests/__init__.py", line 165, in welcome_page_tests
/var/local/autopilot//logs//autopilot.log: treeview_items = treeview.get_all_items()
/var/local/autopilot//logs//autopilot.log: File "/home/xubuntu/ubiquity-autopilot/autopilot/ubiquity_autopilot_tests/emulators/gtkcontrols.py", line 253, in get_all_items
/var/local/autopilot//logs//autopilot.log: treeview = self._get_gail_treeview()
/var/local/autopilot//logs//autopilot.log: File "/home/xubuntu/ubiquity-autopilot/autopilot/ubiquity_autopilot_tests/emulators/gtkcontrols.py", line 352, in _get_gail_treeview
/var/local/autopilot//logs//autopilot.log: "No treeview visible with globalRect {0}".format(self.globalRect)
/var/local/autopilot//logs//autopilot.log: ValueError: No treeview visible with globalRect Rectangle(225, 270, 122, 242)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1479064/+subscriptions
More information about the foundations-bugs
mailing list