Comment 1 for bug 1343916

Revision history for this message
Kunal Parmar (pkunal-parmar) wrote : Re: [Bug 1343916] [NEW] test_add_new_event_with_default_values & test_fill_form fail since mako #137

E

Sent from my BlackBerry 10 smartphone.
  Original Message
From: Brendan Donegan
Sent: Friday, July 18, 2014 6:30 PM
To: <email address hidden>
Reply To: Bug 1343916
Subject: [Bug 1343916] [NEW] test_add_new_event_with_default_values & test_fill_form fail since mako #137

Public bug reported:

These tests are failing both for the same reason:

Traceback (most recent call last):
File "/home/phablet/autopilot/calendar_app/tests/test_custom_proxy_objects.py", line 27, in test_fill_form
new_event_page._fill_form(test_event)
File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
return f(instance, *args, **kwargs)
File "/home/phablet/autopilot/calendar_app/emulators.py", line 418, in _fill_form
self._fill_description(event_information.description)
File "/home/phablet/autopilot/calendar_app/emulators.py", line 440, in _fill_description
self._ensure_visible_and_write(description_text_area, value)
File "/home/phablet/autopilot/calendar_app/emulators.py", line 436, in _ensure_visible_and_write
text_field.write(value)
File "/home/phablet/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_textfield.py", line 42, in write
self.focus.wait_for(True)
File "/usr/lib/python3/dist-packages/autopilot/introspection/types.py", line 181, in wait_for
failure_msg))
AssertionError: After 10.0 seconds test on TextArea.focus failed: True != dbus.Boolean(False, variant_level=1)

By observing the test running, this seems to be because Autopilot is
clicking on the wrong screen co-ordinates, and instead of focusing on
the Description field, it's selecting some of the text from the Name
field.

** Affects: ubuntu-calendar-app
Importance: Undecided
Status: New

** Tags: qa-broken-test qa-daily-testing qa-landing-email

--
You received this bug notification because you are subscribed to Ubuntu
Calendar App.
https://bugs.launchpad.net/bugs/1343916

Title:
test_add_new_event_with_default_values & test_fill_form fail since
mako #137

Status in Calendar application for Ubuntu devices:
New

Bug description:
These tests are failing both for the same reason:

Traceback (most recent call last):
File "/home/phablet/autopilot/calendar_app/tests/test_custom_proxy_objects.py", line 27, in test_fill_form
new_event_page._fill_form(test_event)
File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
return f(instance, *args, **kwargs)
File "/home/phablet/autopilot/calendar_app/emulators.py", line 418, in _fill_form
self._fill_description(event_information.description)
File "/home/phablet/autopilot/calendar_app/emulators.py", line 440, in _fill_description
self._ensure_visible_and_write(description_text_area, value)
File "/home/phablet/autopilot/calendar_app/emulators.py", line 436, in _ensure_visible_and_write
text_field.write(value)
File "/home/phablet/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_textfield.py", line 42, in write
self.focus.wait_for(True)
File "/usr/lib/python3/dist-packages/autopilot/introspection/types.py", line 181, in wait_for
failure_msg))
AssertionError: After 10.0 seconds test on TextArea.focus failed: True != dbus.Boolean(False, variant_level=1)

By observing the test running, this seems to be because Autopilot is
clicking on the wrong screen co-ordinates, and instead of focusing on
the Description field, it's selecting some of the text from the Name
field.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-calendar-app/+bug/1343916/+subscriptions