Review: Needs Fixing
It seems that it is unable to press any key in calculator:
05:18:39.231 INFO _logging:41 -
************************************************************
05:18:39.232 INFO _logging:42 - Starting test
ubuntu_calculator_app.tests.test_main.MainTestCase.test_simple_calculation_via_keyboard
05:18:39.279 WARNING testcase:181 - Process manager backend unavailable,
application snapshot support disabled.
05:18:39.282 INFO logging:45 - MainTestCase: launch_test_click. Arguments ().
Keyword arguments: {}.
05:18:39.282 INFO _launcher:299 - Attempting to launch click application
'(default)' from click package 'com.ubuntu.calculator' and URIs ''
05:18:40.442 INFO _launcher:123 - Attempting to launch application
'com.ubuntu.calculator_calculator_2.0.258' with URIs '' via upstart-app-launch
05:18:47.923 ERROR testresult:44 - ERROR:
ubuntu_calculator_app.tests.test_main.MainTestCase.test_simple_calculation_via_keyboard
05:18:47.924 ERROR testresult:44 - /var/log/syslog: {{{
Jan 12 05:18:40 ubuntu-phablet powerd[997]: handle_requestSysState from :1.64
(active) - ACTIVE (1)
Jan 12 05:18:40 ubuntu-phablet powerd[997]: name_watch_add: looking for :1.64
Jan 12 05:18:40 ubuntu-phablet powerd[997]: watching :1.64 to see when it
disappears on dbus
Jan 12 05:18:40 ubuntu-phablet powerd[997]: libsuspend: acquire_wake_lock:
powerd_power_request
Jan 12 05:18:40 ubuntu-phablet powerd[997]: handle_requestSysState - SUCCESS
Jan 12 05:18:40 ubuntu-phablet powerd[997]: Enqueue state change to ACTIVE
Jan 12 05:18:40 ubuntu-phablet powerd[997]: queue empty && state == current,
discarding
Jan 12 05:18:40 ubuntu-phablet powerd[997]: libsuspend: release_wake_lock:
powerd_power_request
Jan 12 05:18:47 ubuntu-phablet powerd[997]: handle_clearSysState from :1.64,
cookie: c0b8d061-d91a-4615-833a-738e4afb8a93
Jan 12 05:18:47 ubuntu-phablet powerd[997]: clear_sys_request: active - :1.64
Jan 12 05:18:47 ubuntu-phablet powerd[997]: name_watch_remove: looking for :1.64
Jan 12 05:18:47 ubuntu-phablet powerd[997]: name_watch: ref_count for :1.64 is
now 0
Jan 12 05:18:47 ubuntu-phablet powerd[997]: no longer watching :1.64, there are
no more requests
Jan 12 05:18:47 ubuntu-phablet powerd[997]: libsuspend: acquire_wake_lock:
powerd_power_request
Jan 12 05:18:47 ubuntu-phablet powerd[997]: Enqueue state change to ACTIVE
Jan 12 05:18:47 ubuntu-phablet powerd[997]: queue empty && state == current,
discarding
Jan 12 05:18:47 ubuntu-phablet powerd[997]: libsuspend: release_wake_lock:
powerd_power_request
Jan 12 05:18:47 ubuntu-phablet dbus[863]: [system] Activating service
name='com.canonical.PropertyService' (using servicehelper)
Jan 12 05:18:47 ubuntu-phablet dbus[863]: [system] Successfully activated
service 'com.canonical.PropertyService'
}}}
05:18:47.925 ERROR testresult:44 - traceback: {{{
Traceback (most recent call last):
File
"/tmp/adt-run.gw7Oyz/tree/tests/autopilot/ubuntu_calculator_app/tests/test_main.py",
line 17, in test_simple_calculation_via_keyboard
self.app.main_view.enter_text_via_keyboard('.9')
File
"/tmp/adt-run.gw7Oyz/tree/tests/autopilot/ubuntu_calculator_app/__init__.py",
line 187, in enter_text_via_keyboard
ubuntuuitoolkit.get_keyboard().type(textToEnter, delay=0.1)
File
"/tmp/adt-run.gw7Oyz/deps/usr/lib/python3/dist-packages/autopilot/input/_osk.py",
line 105, in type
self._keyboard.type(string, delay)
File
"/tmp/adt-run.gw7Oyz/deps/usr/lib/python3/dist-packages/ubuntu_keyboard/emulators/keyboard.py",
line 211, in type
self.press_key(char)
File
"/tmp/adt-run.gw7Oyz/deps/usr/lib/python3/dist-packages/ubuntu_keyboard/emulators/keyboard.py",
line 165, in press_key
raise RuntimeError("Keyboard is not on screen")
RuntimeError: Keyboard is not on screen
}}}
--
https://code.launchpad.net/~ubuntu-calculator-dev/ubuntu-calculator-app/ubuntu-calculator-app-bottom-row-fix/+merge/282083
Your team Ubuntu Calculator Developers is subscribed to branch
lp:ubuntu-calculator-app.
--
Mailing list: https://launchpad.net/~ubuntu-touch-coreapps-reviewers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-touch-coreapps-reviewers
More help : https://help.launchpad.net/ListHelp