Merge lp://qastaging/~azzar1/unity/fix-839472 into lp://qastaging/unity

Proposed by Andrea Azzarone
Status: Merged
Approved by: Andrea Azzarone
Approved revision: no longer in the source branch.
Merged at revision: 2305
Proposed branch: lp://qastaging/~azzar1/unity/fix-839472
Merge into: lp://qastaging/unity
Diff against target: 125 lines (+67/-1)
4 files modified
plugins/unityshell/src/DashStyle.cpp (+10/-0)
plugins/unityshell/src/DashStyle.h (+3/-0)
plugins/unityshell/src/DashView.cpp (+14/-1)
tests/autopilot/autopilot/tests/test_dash.py (+40/-0)
To merge this branch: bzr merge lp://qastaging/~azzar1/unity/fix-839472
Reviewer Review Type Date Requested Status
Tim Penhey (community) Approve
Review via email: mp+102247@code.qastaging.launchpad.net

Commit message

Don't close the dash if the click is inside the desktop dash border.

Description of the change

== Problem ==
Dash - Clicking on the desktop dash border should do nothing, *NOT* close the dash.

== Test ==
AP test added.

To post a comment you must log in.
Revision history for this message
Tim Penhey (thumper) wrote :

We shouldn't silently pass the tests if not in desktop form factor, but instead use:
  self.skip("Not in desktop form-factor.")

Also, instead of:
  sleep(1);
  self.assertTrue(self.dash.visible)

you can now use Thomi's

  self.assertThat(self.dash.visible, Eventually(Equals(True)))

review: Needs Fixing
Revision history for this message
Andrea Azzarone (azzar1) wrote :

> We shouldn't silently pass the tests if not in desktop form factor, but
> instead use:
> self.skip("Not in desktop form-factor.")
>
> Also, instead of:
> sleep(1);
> self.assertTrue(self.dash.visible)
>
> you can now use Thomi's
>
> self.assertThat(self.dash.visible, Eventually(Equals(True)))

Done.

Revision history for this message
Tim Penhey (thumper) wrote :

Thanks.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.