calendar_app.tests.test_calendar.TestMainView.test_new_event failed on mako#89

Bug #1332173 reported by Leo Arias
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Calendar App
Fix Released
High
Leo Arias

Bug Description

The error is because we no longer kill the OSK, so it's hiding the location field. We need to swipe the field into view before writing in it.

Traceback (most recent call last):
  File "/home/phablet/autopilot/calendar_app/tests/test_calendar.py", line 82, in test_new_event
    self.main_view.get_event_location_field().write("England")
  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 NewEventEntryField.focus failed: True != dbus.Boolean(False, variant_level=1)

Related branches

Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

Strange this didn't happen when me and popey tested it. But we need to get to the bottom of it.

Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

Yeah I see the same thing now. I guess the UI got updated after we merged the OSK kill removal.

Leo Arias (elopio)
Changed in ubuntu-calendar-app:
assignee: nobody → Leo Arias (elopio)
status: Confirmed → In Progress
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :

Fix committed into lp:ubuntu-calendar-app at revision 337, scheduled for release in ubuntu-calendar-app, milestone alpha-1

Changed in ubuntu-calendar-app:
status: In Progress → Fix Committed
Changed in ubuntu-calendar-app:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.