Autopilot swipe_into_view method can open copy/paste dialog
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Calendar App |
Fix Released
|
Undecided
|
Nicholas Skaggs | ||
Ubuntu UI Toolkit |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Calendar app tests are failing on the dashboard due to this error. These tests are failing both for the same reason:
Traceback (most recent call last):
File "/home/
new_
File "/usr/lib/
return f(instance, *args, **kwargs)
File "/home/
self.
File "/home/
self.
File "/home/
text_
File "/home/
self.
File "/usr/lib/
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.
Selecting this text causes the copy/paste dialog to appear which eats further input.
Related branches
- Leo Arias (community): Approve (code review)
- Ubuntu Phone Apps Jenkins Bot: Approve (continuous-integration)
-
Diff: 164 lines (+37/-6)6 files modifiedEventDetails.qml (+1/-0)
NewEvent.qml (+1/-0)
tests/autopilot/calendar_app/data.py (+4/-2)
tests/autopilot/calendar_app/emulators.py (+29/-4)
tests/autopilot/calendar_app/tests/test_data.py (+1/-0)
tests/autopilot/calendar_app/tests/test_new_event.py (+1/-0)
tags: | added: lt-blocker lt-category-noimpact lt-date-20140718 lt-prio-low |
Changed in ubuntu-calendar-app: | |
status: | New → Confirmed |
assignee: | nobody → Nicholas Skaggs (nskaggs) |
summary: |
- test_add_new_event_with_default_values & test_fill_form fail since mako - #137 + Autopilot swipe_into_view method can open copy/paste dialog |
tags: | added: autopilot-helper |
description: | updated |
description: | updated |
Changed in ubuntu-calendar-app: | |
status: | Confirmed → In Progress |
Changed in ubuntu-calendar-app: | |
status: | Fix Committed → Fix Released |
Changed in ubuntu-ui-toolkit: | |
status: | New → Invalid |
E
Sent from my BlackBerry 10 smartphone. new_event_ with_default_ values & test_fill_form fail since mako #137
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_
Public bug reported:
These tests are failing both for the same reason:
Traceback (most recent call last): phablet/ autopilot/ calendar_ app/tests/ test_custom_ proxy_objects. py", line 27, in test_fill_form page._fill_ form(test_ event) python3/ dist-packages/ autopilot/ logging. py", line 46, in inner phablet/ autopilot/ calendar_ app/emulators. py", line 418, in _fill_form description( event_informati on.description) phablet/ autopilot/ calendar_ app/emulators. py", line 440, in _fill_description visible_ and_write( description_ text_area, value) phablet/ autopilot/ calendar_ app/emulators. py", line 436, in _ensure_ visible_ and_write write(value) phablet/ autopilot/ ubuntuuitoolkit /_custom_ proxy_objects/ _textfield. py", line 42, in write wait_for( True) python3/ dist-packages/ autopilot/ introspection/ types.py" , line 181, in wait_for
File "/home/
new_event_
File "/usr/lib/
return f(instance, *args, **kwargs)
File "/home/
self._fill_
File "/home/
self._ensure_
File "/home/
text_field.
File "/home/
self.focus.
File "/usr/lib/
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
-- /bugs.launchpad .net/bugs/ 1343916
You received this bug notification because you are subscribed to Ubuntu
Calendar App.
https:/
Title: new_event_ with_default_ values & test_fill_form fail since
test_add_
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): phablet/ autopilot/ calendar_ app/tests/ test_custom_ proxy_objects. py", line 27, in test_fill_form page._fill_ form(test_ event) python3/ dist-packages/ autopilot/ logging. py", line 46, in inner phablet/ autopilot/ calendar_ app/emulators. py", line 418, in _fill_form description( event_informati on.description) phablet/ autopilot/ calendar_ app/emulators. py", line 440, in _fill_description visible_ and_write( description_ text_area, value) phablet/ autopilot/ calendar_ app/emulators. py", line 436, in _ensure_ visible_ and_write write(value) phablet/ autopilot/ ubuntuuitoolkit /_custom_ proxy_objects/ _textfield. py", line 42, in write wait_for( True) python3/ dist-packages/ autopilot/ introspection/ types.py" , line 181, in wait_for
File "/home/
new_event_
File "/usr/lib/
return f(instance, *args, **kwargs)
File "/home/
self._fill_
File "/home/
self._ensure_
File "/home/
text_field.
File "/home/
self.focus.
File "/usr/lib/
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...