Merge lp:~pkunal-parmar/ubuntu-calendar-app/Bug_1206048 into lp:ubuntu-calendar-app

Proposed by Kunal Parmar
Status: Merged
Approved by: Olivier Tilloy
Approved revision: 81
Merged at revision: 84
Proposed branch: lp:~pkunal-parmar/ubuntu-calendar-app/Bug_1206048
Merge into: lp:ubuntu-calendar-app
Diff against target: 21 lines (+2/-2)
1 file modified
NewEvent.qml (+2/-2)
To merge this branch: bzr merge lp:~pkunal-parmar/ubuntu-calendar-app/Bug_1206048
Reviewer Review Type Date Requested Status
Olivier Tilloy (community) Approve
Ubuntu Phone Apps Jenkins Bot continuous-integration Approve
Review via email: mp+178412@code.launchpad.net

Commit message

Bug #1206048 resolved,

Seems line ListItem.SingleControl is changed some how that was affecting layout of button. Now I changed it to ListItem.EmptyItem

Description of the change

Bug #1206048 resolved,

Seems line ListItem.SingleControl is changed some how that was affecting layout of button. Now I changed it to ListItem.EmptyItem

To post a comment you must log in.
Revision history for this message
Olivier Tilloy (osomon) wrote :

Works well.
Note that there is one autopilot test that was commented out because of this broken functionality, so now it ought to be enabled again. You might want to ensure that https://code.launchpad.net/~osomon/ubuntu-calendar-app/refactor-autopilot-tests/+merge/178524 is merged first, as then it will only be a matter of removing the unittest.skip(…) decorator.

review: Needs Fixing
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Kunal Parmar (pkunal-parmar) wrote :

> Executed test runs:
> UNSTABLE: http://91.189.93.70:8080/job/generic-mediumtests/303
>
> Click here to trigger a rebuild:
> http://91.189.93.70:8080/job/ubuntu-calendar-app-ci/204/rebuild

Is this related to x server issue,

QXcbConnection: XCB error: 148 (Unknown), sequence: 148, resource id: 0, major code: 140 (Unknown), minor code: 20
}}}
,

it seems test case are not running at all

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/calendar_app/tests/test_monthview.py", line 26, in setUp
    self.ubuntusdk.get_qml_view().visible, Eventually(Equals(True)))
MismatchError: After 10.0 seconds test on QQuickView.visible failed: True != dbus.Boolean(False, variant_level=1)

Revision history for this message
Olivier Tilloy (osomon) wrote :

Yes, it looks like there are issues with this jenkins instance, I’ve pinged Francis about it, hopefully this will be resolved today.

Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Olivier Tilloy (osomon) wrote :

> Works well.
> Note that there is one autopilot test that was commented out because of this
> broken functionality, so now it ought to be enabled again. You might want to
> ensure that https://code.launchpad.net/~osomon/ubuntu-calendar-app/refactor-
> autopilot-tests/+merge/178524 is merged first, as then it will only be a
> matter of removing the unittest.skip(…) decorator.

The MR I was mentioning has been merged now, so you can re-enable the skipped autopilot test by simply removing the skip decorator.

Revision history for this message
Kunal Parmar (pkunal-parmar) wrote :

>
> The MR I was mentioning has been merged now, so you can re-enable the skipped
> autopilot test by simply removing the skip decorator.

Unfortunately that test case is broken now, Now in EventView instead of text field we are using time picker for entering time.
So to enable that test case we need some changes to handle time picker properly.

Revision history for this message
Olivier Tilloy (osomon) wrote :

> >
> > The MR I was mentioning has been merged now, so you can re-enable the
> skipped
> > autopilot test by simply removing the skip decorator.
>
> Unfortunately that test case is broken now, Now in EventView instead of text
> field we are using time picker for entering time.
> So to enable that test case we need some changes to handle time picker
> properly.

Ok, so let’s keep it skipped for the moment, and let’s fix it in a separate branch.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'NewEvent.qml'
2--- NewEvent.qml 2013-07-19 16:15:27 +0000
3+++ NewEvent.qml 2013-08-03 05:38:25 +0000
4@@ -160,7 +160,7 @@
5 }
6 }
7
8- ListItem.SingleControl {
9+ ListItem.Empty {
10 highlightWhenPressed: false
11 Dialog {
12 id: errorPopupDialog
13@@ -171,7 +171,7 @@
14 onClicked: PopupUtils.close(errorPopupDialog)
15 }
16 }
17- control: Button {
18+ Button {
19 objectName: "eventSaveButton"
20 text: i18n.tr("Save")
21 anchors {

Subscribers

People subscribed via source and target branches

to status/vote changes: