Merge lp:~aacid/unity-2d/unity-2d_test_alt_f2_pops_dash into lp:unity-2d
| Status: | Merged |
|---|---|
| Approved by: | Gerry Boland on 2012-01-25 |
| Approved revision: | 868 |
| Merged at revision: | 867 |
| Proposed branch: | lp:~aacid/unity-2d/unity-2d_test_alt_f2_pops_dash |
| Merge into: | lp:unity-2d |
| Diff against target: |
126 lines (+122/-0) 1 file modified
tests/places/places-tests.rb (+122/-0) |
| To merge this branch: | bzr merge lp:~aacid/unity-2d/unity-2d_test_alt_f2_pops_dash |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Gerry Boland | 2012-01-24 | Approve on 2012-01-25 | |
| Lohith D Shivamurthy (community) | Needs Fixing on 2012-01-25 | ||
|
Review via email:
|
|||
Description of the Change
[test] Test that Alt+F2 and that clicking the bfb show the Dash
- 864. By Albert Astals Cid on 2012-01-24
-
merge
- 865. By Albert Astals Cid on 2012-01-24
-
port to the target/host split
| Lohith D Shivamurthy (dyams) wrote : | # |
Three points I noticed:
1) Isn't the places-tests.rb is very generic, something like places-
2) 'context "Launcher Autohide and Show Tests"' Needs to changed to suitable string like 'Dash Alt-F2 Tests'?
3) Verifying only dash is visible is not sufficient to confirm that it is 'Run a command' prompt. Should you also verify the text in search_entry? Or Do i miss something here?
- 866. By Albert Astals Cid on 2012-01-25
-
merge
- 867. By Albert Astals Cid on 2012-01-25
-
Remove two out-of-place comments spotted by Gerry
- 868. By Albert Astals Cid on 2012-01-25
-
Fix context name
| Albert Astals Cid (aacid) wrote : | # |
@Gerry: Removed the wrong comments
| Albert Astals Cid (aacid) wrote : | # |
@Lohith:
1) Well, my idea was starting a file that would hold various places tests, as you can see it does not only old "alt-f2" test but also "click-bfb-to-show" test, so "places-
2) Fixed!
3) Well the idea of the test is making sure the dash is opened by both alt+f2 and clicking in the bfb, the fact that it opens one thing or another is not what we wanted to check here (What we wanted to check is that moving from dbus activation to in-process activation (in the -shell) the affected code paths work)
| Lohith D Shivamurthy (dyams) wrote : | # |
@Albert:
Agreed!
1) No, its not the question of avoiding the generic names. Ideally speaking places-tests.rb can include every test case involving places, but we won't put all tests involving places into in a single file. no?
2) Thanks
3) Ok, then its fine.
| Albert Astals Cid (aacid) wrote : | # |
As discussed on IRC 1) is fine for the moment, we'll move it later if needed
| Gerry Boland (gerboland) wrote : | # |
Ok, I think we're in agreement, merging!
Thanks Albert.


Rogue comments:
+ # check width before proceeding
in two places.
But is great aside from that.