GNOME Bugzilla – Bug 656801
hasstate return wrong status result on solaris
Last modified: 2011-08-18 22:56:03 UTC
Installed latest LDTP trunk build(2.1.1), I found hasstate gave wrong state result. For the widgets with "enabled, showing, visible" status, ldtp always return "0" as state result. This is not shown in previous LDTP build. Please fix it. I tracked down the codes and LDTP online help documents, found the problem existing in following codes: diff --git a/ldtpd/core.py b/ldtpd/core.py index 0f22e7b..95bc455 100644 --- a/ldtpd/core.py +++ b/ldtpd/core.py @@ -724,7 +724,7 @@ class Ldtpd(Utils, ComboBox, Table, Menu, PageTabList, """ try: waiter = \ - ObjectExistsWaiter(window_name, object_name, guiTimeOut, state) + ObjectExistsWaiter(window_name, object_name, state, guiTimeOut) return int(waiter.run()) except: pass
Thanks for the bug report, fixed the issue in git head. This is a regression due to bug#654683