Merge lp:~aacid/unity-2d/unity-2d_test_toggling_bfb_does_not_close_launcher into lp:unity-2d
Proposed by
Albert Astals Cid
Status: | Merged |
---|---|
Approved by: | Gerry Boland |
Approved revision: | 861 |
Merged at revision: | 859 |
Proposed branch: | lp:~aacid/unity-2d/unity-2d_test_toggling_bfb_does_not_close_launcher |
Merge into: | lp:unity-2d |
Diff against target: |
46 lines (+38/-0) 1 file modified
tests/launcher/autohide_show_tests.rb (+38/-0) |
To merge this branch: | bzr merge lp:~aacid/unity-2d/unity-2d_test_toggling_bfb_does_not_close_launcher |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gerry Boland (community) | Approve | ||
Michał Sawicz | functional | Approve | |
Review via email: mp+89271@code.launchpad.net |
Description of the change
[test] Launcher does not hide after toggling the dash
To post a comment you must log in.
Hey move(bfb[ 'x_absolute' ].to_i + 1, bfb['y_ absolute' ].to_i + 1, 0, true)
XDo::Mouse.
Curious if you considered "hover" [1], so this would just be "bfb.hover"
+ (1..15).each do |i| )['x_absolute' ].to_i
+ verify_equal( 0, 0, 'Launcher hiding after clicking twice in the bfb' ) {
+ @app.Launcher(
+ }
+ sleep 0.1
+ end
I know you can nest verify_* statements. Would something like this be nicer?:
verify_not(3, 'Launcher hiding after hovering mouse over bfb' and clicking twice) { Launcher( )['x_absolute' ].to_i
verify_equal( 2, 0 ) {
@app.
}
}
[1] https:/ /projects. developer. nokia.com/ dav/Testability driver/ doc/api/ qt_linux/ #QtAction: hover