Merge lp:~laney/autopilot-gtk/tests-wait-not-visible into lp:autopilot-gtk
| Status: | Merged |
|---|---|
| Approved by: | Marco Trevisan (Treviño) on 2015-08-26 |
| Approved revision: | 78 |
| Merged at revision: | 77 |
| Proposed branch: | lp:~laney/autopilot-gtk/tests-wait-not-visible |
| Merge into: | lp:autopilot-gtk |
| Diff against target: |
16 lines (+4/-1) 1 file modified
tests/autopilot/tests/test_actions.py (+4/-1) |
| To merge this branch: | bzr merge lp:~laney/autopilot-gtk/tests-wait-not-visible |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Max Brustkern (community) | Approve on 2015-08-28 | ||
| Brendan Donegan (community) | Approve on 2015-08-28 | ||
| PS Jenkins bot | continuous-integration | Needs Fixing on 2015-08-26 | |
| Marco Trevisan (Treviño) | 2015-08-24 | Approve on 2015-08-25 | |
|
Review via email:
|
|||
Commit Message
Wait until the dialog actually goes away before checking for its disappearance to fix failing test.
Description of the Change
Wait until the dialog actually goes away before checking for its disappearance. Supersedes
Maybe the second assert is unnecessary now?
| Marco Trevisan (Treviño) (3v1n0) wrote : | # |
Change looks fine to me, CI failures aren't related to this.
| Marco Trevisan (Treviño) (3v1n0) wrote : | # |
Err, shouldn't the visibilty checked before trying to push the button (as for the comment on the previous review)?
| Iain Lane (laney) wrote : | # |
On Tue, Aug 25, 2015 at 11:17:27AM -0000, Marco Trevisan (Treviño) wrote:
> Err, shouldn't the visibilty checked before trying to push the button (as for the comment on the previous review)?
I think it was wrong. If we can select the dialog then it's visible.
Did you try running it?
If you want we could make it wait_select_
--
Iain Lane [ <email address hidden> ]
Debian Developer [ <email address hidden> ]
Ubuntu Developer [ <email address hidden> ]
| Marco Trevisan (Treviño) (3v1n0) wrote : | # |
> On Tue, Aug 25, 2015 at 11:17:27AM -0000, Marco Trevisan (Treviño) wrote:
> Did you try running it?
Yeah, it was fine, but then I read your previous comment and you know AP might be very unstable when handling time-dependent things.
> If you want we could make it wait_select_
Well, this might be better to avoid any false positive.
| Iain Lane (laney) wrote : | # |
On Wed, Aug 26, 2015 at 12:41:33PM -0000, Marco Trevisan (Treviño) wrote:
> > On Tue, Aug 25, 2015 at 11:17:27AM -0000, Marco Trevisan (Treviño) wrote:
> > Did you try running it?
>
> Yeah, it was fine, but then I read your previous comment and you know AP might be very unstable when handling time-dependent things.
>
> > If you want we could make it wait_select_
>
> Well, this might be better to avoid any false positive.
pushed, try that.
--
Iain Lane [ <email address hidden> ]
Debian Developer [ <email address hidden> ]
Ubuntu Developer [ <email address hidden> ]
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:78
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| Max Brustkern (nuclearbob) wrote : | # |
With the silo 19 PPA installed, I see test failures on unity8 I didn't see on trunk. We can investigate further.
| Marco Trevisan (Treviño) (3v1n0) wrote : | # |
I guess this can't cause u8 failures.
| Iain Lane (laney) wrote : | # |
On Wed, Aug 26, 2015 at 07:14:51PM -0000, Max Brustkern wrote:
> With the silo 19 PPA installed, I see test failures on unity8 I didn't see on trunk. We can investigate further.
Details please - as Marco says, this is suspicious - the only changes
that aren't straight rebuilds are test fixes.
--
Iain Lane [ <email address hidden> ]
Debian Developer [ <email address hidden> ]
Ubuntu Developer [ <email address hidden> ]
| Brendan Donegan (brendan-donegan) wrote : | # |
Given that the failures in Jenkins couldn't be caused by this MP, I'll approve, but they should be looked at - I'll file a bug
| Max Brustkern (nuclearbob) wrote : | # |
FWIW, I've also completed the browser testing and found no errors, and the uuit testing looks good so far.

FAILED: Continuous integration, rev:77 jenkins. qa.ubuntu. com/job/ autopilot- gtk-ci/ 81/ jenkins. qa.ubuntu. com/job/ autopilot- gtk-wily- amd64-ci/ 2/console jenkins. qa.ubuntu. com/job/ autopilot- gtk-wily- armhf-ci/ 2/console jenkins. qa.ubuntu. com/job/ autopilot- gtk-wily- i386-ci/ 2/console
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/autopilot- gtk-ci/ 81/rebuild
http://