Merge lp:~aacid/unity8/pageHeaderLabelTestValgrind into lp:unity8

Proposed by Albert Astals Cid
Status: Merged
Approved by: Michał Sawicz
Approved revision: 1208
Merged at revision: 1220
Proposed branch: lp:~aacid/unity8/pageHeaderLabelTestValgrind
Merge into: lp:unity8
Diff against target: 21 lines (+3/-1)
1 file modified
tests/qmltests/Dash/tst_PageHeader.qml (+3/-1)
To merge this branch: bzr merge lp:~aacid/unity8/pageHeaderLabelTestValgrind
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Needs Fixing
Michał Sawicz Approve
Review via email: mp+232420@code.launchpad.net

Commit message

Make the PageHeaderLabelTest pass under valgrind

Description of the change

 * Are there any related MPs required for this MP to build/function as expected?
No

 * Did you perform an exploratory manual test run of your code change and any related functionality?
It's only test change.

 * Did you make sure that your branch does not contain spurious tags?
Yes

 * If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?
N/A

 * If you changed the UI, has there been a design review?
N/A

To post a comment you must log in.
1207. By Albert Astals Cid

Add verify

1208. By Albert Astals Cid

? -> ;

Revision history for this message
Michał Sawicz (saviq) wrote :

 * Did you perform an exploratory manual test run of the code change and any related functionality?
Y
 * Did CI run pass? If not, please explain why.
Waiting

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'tests/qmltests/Dash/tst_PageHeader.qml'
--- tests/qmltests/Dash/tst_PageHeader.qml 2014-08-13 11:56:16 +0000
+++ tests/qmltests/Dash/tst_PageHeader.qml 2014-08-27 14:40:33 +0000
@@ -94,7 +94,7 @@
94 typeString("humppa1")94 typeString("humppa1")
95 pageHeader.resetSearch()95 pageHeader.resetSearch()
9696
97 compare(pageHeader.searchHistory.count, 1)97 tryCompare(pageHeader.searchHistory, "count", 1)
98 compare(pageHeader.searchHistory.get(0).query, "humppa1")98 compare(pageHeader.searchHistory.get(0).query, "humppa1")
9999
100 pageHeader.triggerSearch()100 pageHeader.triggerSearch()
@@ -155,6 +155,8 @@
155 compare(searchTextField.focus, true);155 compare(searchTextField.focus, true);
156156
157 var recentSearches = findChild(headerContainer.popover, "recentSearches");157 var recentSearches = findChild(headerContainer.popover, "recentSearches");
158 verify(recentSearches, "Could not find recent searches in the popover");
159 waitForRendering(recentSearches);
158 mouseClick(recentSearches.itemAt(0), 0, 0);160 mouseClick(recentSearches.itemAt(0), 0, 0);
159161
160 compare(pageHeader.searchQuery, "Search2");162 compare(pageHeader.searchQuery, "Search2");

Subscribers

People subscribed via source and target branches