@@ -215,7 +215,7 @@ Item {
215215 verify(pageHeader, "Could not find the scope page header.");
216216 var innerHeader = findChild(pageHeader, "innerPageHeader");
217217 verify(innerHeader, "Could not find the scope page header.");
218− compare(innerHeader.config.contents.text, scopesModel.getScope(data.index).name);
218+ compare(innerHeader.config.title, scopesModel.getScope(data.index).name);
219219 }
220220
221221 function test_is_active_data() {
@@ -285,11 +285,12 @@ Item {
285285 tryCompareFunction(function() { return findChild(dashContentList.currentItem, "dashNavigation") != null; }, true);
286286 var dashNavigation = findChild(dashContentList.currentItem, "dashNavigation");
287287 var peExtraPanel = findChild(dashContentList.currentItem, "peExtraPanel");
288− var searchButton = findChild(dashContentList.currentItem, "search_action_button");
288+ var searchButton = findChild(dashContentList.currentItem, "search_button");
289289 var searchTextField = findChild(dashContentList.currentItem, "searchTextField");
290290 compare(peExtraPanel.visible, false);
291291 mouseClick(searchButton);
292292 tryCompare(peExtraPanel, "visible", true);
293+ peExtraPanel.searchHistory.clear();
293294
294295 var navigationListView = findChild(dashNavigation, "navigationListView");
295296 tryCompareFunction(function() {
@@ -405,7 +406,7 @@ Item {
405406 tryCompareFunction(function() { return findChild(dashContentList.currentItem, "dashNavigation") != null; }, true);
406407 var dashNavigation = findChild(dashContentList.currentItem, "dashNavigation");
407408 var peExtraPanel = findChild(dashContentList.currentItem, "peExtraPanel");
408− var searchButton = findChild(dashContentList.currentItem, "search_action_button");
409+ var searchButton = findChild(dashContentList.currentItem, "search_button");
409410 var searchTextField = findChild(dashContentList.currentItem, "searchTextField");
410411 compare(peExtraPanel.visible, false);
411412 mouseClick(searchButton);
@@ -497,7 +498,7 @@ Item {
497498
498499 function test_clearSearchWithNavigationClosed() {
499500 var dashContentList = findChild(dashContent, "dashContentList");
500− var searchButton = findChild(dashContentList.currentItem, "search_action_button");
501+ var searchButton = findChild(dashContentList.currentItem, "search_button");
501502 var peExtraPanel = findChild(dashContentList.currentItem, "peExtraPanel");
502503 var searchTextField = findChild(dashContentList.currentItem, "searchTextField");
503504
@@ -513,32 +514,16 @@ Item {
513514 tryCompare(peExtraPanel, "visible", true);
514515 }
515516
516− function test_navigationShowFilterButton() {
517− goToSecondLevel();
518−
519− var dashContentList = findChild(dashContent, "dashContentList");
520− var searchTextField = findChild(dashContentList.currentItem, "searchTextField");
521−
522− verify(!searchTextField.focus)
523− verify(searchTextField.clearIsSettings)
524−
525− mouseClick(searchTextField)
526−
527− verify(searchTextField.focus)
528− verify(!searchTextField.clearIsSettings)
529− }
530−
531517 function test_navigationShowFilterPopup() {
532518 goToSecondLevel();
533519
534520 var dashContentList = findChild(dashContent, "dashContentList");
535− var searchTextField = findChild(dashContentList.currentItem, "searchTextField");
536− var clearIcon = findChild(searchTextField, "clearIcon");
521+ var settingsButton = findChild(dashContentList.currentItem, "settingsButton");
537522
538523 var filtersPopover = findChild(shell, "filtersPopover")
539524 verify(!filtersPopover);
540525
541− mouseClick(clearIcon);
526+ mouseClick(settingsButton);
542527
543528 filtersPopover = findChild(shell, "filtersPopover")
544529
@@ -550,7 +535,7 @@ Item {
550535 tryCompareFunction(function() { return findChild(dashContentList.currentItem, "dashNavigation") != null; }, true);
551536 dashContentList.currentItem.item.scope.setHasNavigation(false);
552537 var peExtraPanel = findChild(dashContentList.currentItem, "peExtraPanel");
553− var searchButton = findChild(dashContentList.currentItem, "search_action_button");
538+ var searchButton = findChild(dashContentList.currentItem, "search_button");
554539
555540 compare(peExtraPanel.visible, false);
556541 mouseClick(searchButton);