** Changed in: ubuntu-ui-toolkit Status: Fix Committed => Fix Released
-- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in Ubuntu. https://bugs.launchpad.net/bugs/1311907 Title: gallery.test_textinput.WriteAndClearTextInputTestCase.test_write_on_textfield_must_update_text fails for certain regional formats Status in Ubuntu UI Toolkit: Fix Released Status in “ubuntu-ui-toolkit” package in Ubuntu: Fix Released Bug description: I am running a relatively fresh installation of trusty inside vmware on a mac. I branched staging, compiled it and then ran the test as shown below. I get the same error when I run it with autopilot and autopilot3. Apparently a dot is accepted as input when it should accept only integers. tim@trusty:~/dev/ubuntu-ui-toolkit/staging$ source export_modules_dir.sh tim@trusty:~/dev/ubuntu-ui-toolkit/staging$ cd tests/autopilot/ tim@trusty:~/dev/ubuntu-ui-toolkit/staging/tests/autopilot$ autopilot run ubuntuuitoolkit.tests.gallery.test_textinput.WriteAndClearTextInputTestCase.test_write_on_textfield_must_update_text Loading tests from: /home/tim/dev/ubuntu-ui-toolkit/staging/tests/autopilot Tests running... ====================================================================== FAIL: ubuntuuitoolkit.tests.gallery.test_textinput.WriteAndClearTextInputTestCase.test_write_on_textfield_must_update_text(only integers textfield) ---------------------------------------------------------------------- Empty attachments: /var/log/syslog process-stdout process-return-code: {{{-15}}} process-stderr: {{{ Testability driver loaded. Wire protocol version is "1.4". unity::action::ActionManager::ActionManager(QObject*): Could not determine application identifier. HUD will not work properly. Provide your application identifier in $APP_ID environment variable. ** (qmlscene:12786): WARNING **: Unable to register app: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: Invalid application ID }}} Traceback (most recent call last): File "/home/tim/dev/ubuntu-ui-toolkit/staging/tests/autopilot/ubuntuuitoolkit/tests/gallery/test_textinput.py", line 48, in test_write_on_textfield_must_update_text self.assertEqual(self.expected_text, textfield.text) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 321, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 406, in assertThat raise mismatch_error MismatchError: '-100123' != u'-100.123' Ran 3 tests in 20.788s FAILED (failures=1) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1311907/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp