test_yearview will fail after june

Bug #1335241 reported by Leo Arias
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Calendar App
Fix Released
High
Nicholas Skaggs

Bug Description

On test_yearview.py there's these statements:

 if now.month > 6:
     self.page.drag_page_up()

self.page is never defined, so it will raise an exception making the test fail.

On the branch https://code.launchpad.net/~elopio/ubuntu-calendar-app/fix1332173-swipe_to_create_new_event/+merge/224735 I'm removing the page helper because we should use clearer methods for swiping.

Every toolkit custom proxy object has a swipe_into_view method that we can use. Or if the item is in a list that does lazy loading, we can call the click_element method.

Related branches

Revision history for this message
xreuze (xreuze) wrote : Re: [Bug 1335241] Re: test_yearview will fail after june

AQI , same post as before. Why ask a urgency if same bug,

On Tue, Jul 1, 2014 at 8:09 PM, Nicholas Skaggs <
<email address hidden>> wrote:

> ** Branch linked: lp:~nskaggs/ubuntu-calendar-app/yearview-tweaks
>
> --
> You received this bug notification because you are subscribed to Ubuntu
> Touch Core Apps.
> Matching subscriptions: Touch Core Apps Bugs, Unity 8
> https://bugs.launchpad.net/bugs/1335241
>
> Title:
> test_yearview will fail after june
>
> Status in Calendar application for Ubuntu devices:
> New
>
> Bug description:
> On test_yearview.py there's these statements:
>
> if now.month > 6:
> self.page.drag_page_up()
>
> self.page is never defined, so it will raise an exception making the
> test fail.
>
> On the branch https://code.launchpad.net/~elopio/ubuntu-calendar-
> app/fix1332173-swipe_to_create_new_event/+merge/224735 I'm removing
> the page helper because we should use clearer methods for swiping.
>
> Every toolkit custom proxy object has a swipe_into_view method that we
> can use. Or if the item is in a list that does lazy loading, we can
> call the click_element method.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu-calendar-app/+bug/1335241/+subscriptions
>

Revision history for this message
xreuze (xreuze) wrote :

This is not a shell , wrap point.

So why needing a aol need, when ::: in Qt offers a fix. Or do we code in
same image.file

On Tue, Jul 1, 2014 at 11:39 PM, Bob Looter <email address hidden> wrote:

> AQI , same post as before. Why ask a urgency if same bug,
>
>
> On Tue, Jul 1, 2014 at 8:09 PM, Nicholas Skaggs <
> <email address hidden>> wrote:
>
>> ** Branch linked: lp:~nskaggs/ubuntu-calendar-app/yearview-tweaks
>>
>> --
>> You received this bug notification because you are subscribed to Ubuntu
>> Touch Core Apps.
>> Matching subscriptions: Touch Core Apps Bugs, Unity 8
>> https://bugs.launchpad.net/bugs/1335241
>>
>> Title:
>> test_yearview will fail after june
>>
>> Status in Calendar application for Ubuntu devices:
>> New
>>
>> Bug description:
>> On test_yearview.py there's these statements:
>>
>> if now.month > 6:
>> self.page.drag_page_up()
>>
>> self.page is never defined, so it will raise an exception making the
>> test fail.
>>
>> On the branch https://code.launchpad.net/~elopio/ubuntu-calendar-
>> app/fix1332173-swipe_to_create_new_event/+merge/224735 I'm removing
>> the page helper because we should use clearer methods for swiping.
>>
>> Every toolkit custom proxy object has a swipe_into_view method that we
>> can use. Or if the item is in a list that does lazy loading, we can
>> call the click_element method.
>>
>> To manage notifications about this bug go to:
>> https://bugs.launchpad.net/ubuntu-calendar-app/+bug/1335241/+subscriptions
>>
>
>

Leo Arias (elopio)
Changed in ubuntu-calendar-app:
status: New → Triaged
assignee: nobody → Nicholas Skaggs (nskaggs)
tags: added: qa-broken-test qa-daily-testing
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 None, scheduled for release in ubuntu-calendar-app, milestone alpha-1

Changed in ubuntu-calendar-app:
status: Triaged → 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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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