@@ -215,7 +215,7 @@ Item {
215 verify(pageHeader, "Could not find the scope page header.");
215 verify(pageHeader, "Could not find the scope page header.");
216 var innerHeader = findChild(pageHeader, "innerPageHeader");
216 var innerHeader = findChild(pageHeader, "innerPageHeader");
217 verify(innerHeader, "Could not find the scope page header.");
217 verify(innerHeader, "Could not find the scope page header.");
218− compare(innerHeader.config.title, scopesModel.getScope(data.index).name);
218+ compare(innerHeader.config.contents.text, scopesModel.getScope(data.index).name);
221 function test_is_active_data() {
221 function test_is_active_data() {
@@ -284,14 +284,14 @@ Item {
284 var dashContentList = findChild(dashContent, "dashContentList");
284 var dashContentList = findChild(dashContent, "dashContentList");
285 tryCompareFunction(function() { return findChild(dashContentList.currentItem, "dashNavigation") != null; }, true);
285 tryCompareFunction(function() { return findChild(dashContentList.currentItem, "dashNavigation") != null; }, true);
286 var dashNavigation = findChild(dashContentList.currentItem, "dashNavigation");
286 var dashNavigation = findChild(dashContentList.currentItem, "dashNavigation");
287− tryCompare(dashNavigation, "visible", true);
287+ var peExtraPanel = findChild(dashContentList.currentItem, "peExtraPanel");
288− var dashNavigationButton = findChild(dashContentList.currentItem, "navigationButton");
288+ var searchButton = findChild(dashContentList.currentItem, "search_action_button");
289− compare(dashNavigationButton.showList, false);
289+ var searchTextField = findChild(dashContentList.currentItem, "searchTextField");
290− waitForRendering(dashNavigationButton);
290+ compare(peExtraPanel.visible, false);
291− mouseClick(dashNavigationButton);
291+ mouseClick(searchButton);
292− compare(dashNavigationButton.showList, true);
292+ tryCompare(peExtraPanel, "visible", true);
294− var navigationListView = findChild(dashNavigationButton, "navigationListView");
294+ var navigationListView = findChild(dashNavigation, "navigationListView");
295 tryCompareFunction(function() {
295 tryCompareFunction(function() {
296 return navigationListView.currentItem &&
296 return navigationListView.currentItem &&
297 navigationListView.currentItem.navigation &&
297 navigationListView.currentItem.navigation &&
@@ -300,235 +300,263 @@ Item {
300 waitForRendering(navigationListView);
300 waitForRendering(navigationListView);
301 waitForRendering(navigationListView.currentItem);
301 waitForRendering(navigationListView.currentItem);
303− var allButton = findChild(dashNavigationButton, "allButton");
304− compare(allButton.visible, false);
306− var navigation = findChild(dashNavigationButton, "navigation0child3");
303+ var navigation = findChild(dashNavigation, "navigation0child3");
307 mouseClick(navigation);
304 mouseClick(navigation);
308− compare(dashNavigationButton.showList, false);
305+ compare(peExtraPanel.visible, false);
309− tryCompare(dashNavigationButton.currentNavigation, "navigationId", "middle3");
306+ tryCompare(dashNavigation.currentNavigation, "navigationId", "middle3");
310 tryCompare(navigationListView.currentItem.navigation, "navigationId", "root");
307 tryCompare(navigationListView.currentItem.navigation, "navigationId", "root");
312− mouseClick(dashNavigationButton);
309+ mouseClick(searchTextField);
313− compare(dashNavigationButton.showList, true);
310+ tryCompare(peExtraPanel, "visible", true);
314 waitForRendering(navigationListView);
311 waitForRendering(navigationListView);
315 waitForRendering(navigationListView.currentItem);
312 waitForRendering(navigationListView.currentItem);
316− compare(allButton.visible, true);
314+ var header0 = findChild(dashNavigation, "dashNavigationHeader0");
315+ compare(header0.backVisible, false);
318− mouseClick(allButton);
316+ mouseClick(header0);
319− compare(dashNavigationButton.showList, false);
317+ compare(peExtraPanel.visible, false);
320− tryCompare(dashNavigationButton.currentNavigation, "navigationId", "root");
318+ tryCompare(dashNavigation.currentNavigation, "navigationId", "root");
321 tryCompare(navigationListView.currentItem.navigation, "navigationId", "root");
319 tryCompare(navigationListView.currentItem.navigation, "navigationId", "root");
323− mouseClick(dashNavigationButton);
321+ var headerContainer = findChild(dashContentList.currentItem, "headerContainer");
324− compare(dashNavigationButton.showList, true);
322+ tryCompare(headerContainer, "contentY", headerContainer.height);
323+ mouseClick(searchButton);
324+ tryCompare(peExtraPanel, "visible", true);
325 waitForRendering(navigationListView);
325 waitForRendering(navigationListView);
326 waitForRendering(navigationListView.currentItem);
326 waitForRendering(navigationListView.currentItem);
327− compare(allButton.visible, false);
329− navigation = findChild(dashNavigationButton, "navigation0child2");
328+ navigation = findChild(dashNavigation, "navigation0child2");
330 mouseClick(navigation);
329 mouseClick(navigation);
331− compare(dashNavigationButton.showList, true);
330+ compare(peExtraPanel.visible, true);
332− tryCompare(dashNavigationButton.currentNavigation, "navigationId", "middle2");
331+ tryCompare(dashNavigation.currentNavigation, "navigationId", "middle2");
333 tryCompare(navigationListView.currentItem.navigation, "navigationId", "middle2");
332 tryCompare(navigationListView.currentItem.navigation, "navigationId", "middle2");
335− var navigationList1 = findChild(dashNavigationButton, "navigation1");
334+ var navigationList1 = findChild(dashNavigation, "navigation1");
336− allButton = findChild(navigationList1, "allButton");
335+ var header1 = findChild(dashNavigation, "dashNavigationHeader1");
337− var backButton = findChild(findChild(navigationList1, "navigation1"), "backButton");
336+ compare(header0.height, 0);
338− compare(allButton.visible, true);
337+ compare(header1.backVisible, true);
339− compare(backButton.visible, true);
341 tryCompare(navigationListView, "contentX", navigationList1.x);
339 tryCompare(navigationListView, "contentX", navigationList1.x);
342 waitForRendering(navigationListView);
340 waitForRendering(navigationListView);
343− mouseClick(allButton);
341+ mouseClick(header1);
344− compare(dashNavigationButton.showList, false);
342+ compare(peExtraPanel.visible, false);
345− tryCompare(dashNavigationButton.currentNavigation, "navigationId", "middle2");
343+ tryCompare(dashNavigation.currentNavigation, "navigationId", "middle2");
346 tryCompare(navigationListView.currentItem.navigation, "navigationId", "middle2");
344 tryCompare(navigationListView.currentItem.navigation, "navigationId", "middle2");
348− mouseClick(dashNavigationButton);
346+ mouseClick(searchTextField);
349− compare(dashNavigationButton.showList, true);
347+ tryCompare(peExtraPanel, "visible", true);
350 waitForRendering(navigationListView);
348 waitForRendering(navigationListView);
351 waitForRendering(navigationListView.currentItem);
349 waitForRendering(navigationListView.currentItem);
352− compare(allButton.visible, true);
350+ compare(header0.height, 0);
353− compare(backButton.visible, true);
351+ compare(header1.backVisible, true);
355 tryCompare(navigationList1.navigation, "loaded", true);
353 tryCompare(navigationList1.navigation, "loaded", true);
356− tryCompare(navigationList1, "implicitHeight", navigationList1.itemHeight * 10);
354+ tryCompare(navigationList1, "implicitHeight", navigationList1.itemHeight * 8);
357 tryCompare(navigationList1, "height", navigationList1.implicitHeight);
355 tryCompare(navigationList1, "height", navigationList1.implicitHeight);
358− navigation = findChild(dashNavigationButton, "navigation1child2");
356+ navigation = findChild(dashNavigation, "navigation1child2");
359 mouseClick(navigation);
357 mouseClick(navigation);
360− compare(dashNavigationButton.showList, false);
358+ compare(peExtraPanel.visible, false);
361− tryCompare(dashNavigationButton.currentNavigation, "navigationId", "childmiddle22");
359+ tryCompare(dashNavigation.currentNavigation, "navigationId", "childmiddle22");
362 tryCompare(navigationListView.currentItem.navigation, "navigationId", "middle2");
360 tryCompare(navigationListView.currentItem.navigation, "navigationId", "middle2");
364− mouseClick(dashNavigationButton);
362+ mouseClick(searchTextField);
365− compare(dashNavigationButton.showList, true);
363+ tryCompare(peExtraPanel, "visible", true);
366 waitForRendering(navigationListView);
364 waitForRendering(navigationListView);
367 waitForRendering(navigationListView.currentItem);
365 waitForRendering(navigationListView.currentItem);
369 tryCompare(navigationList1.navigation, "loaded", true);
367 tryCompare(navigationList1.navigation, "loaded", true);
370− navigation = findChild(dashNavigationButton, "navigation1child3");
368+ navigation = findChild(dashNavigation, "navigation1child3");
371 mouseClick(navigation);
369 mouseClick(navigation);
372− compare(dashNavigationButton.showList, false);
370+ compare(peExtraPanel.visible, false);
373− tryCompare(dashNavigationButton.currentNavigation, "navigationId", "childmiddle23");
371+ tryCompare(dashNavigation.currentNavigation, "navigationId", "childmiddle23");
374 tryCompare(navigationListView.currentItem.navigation, "navigationId", "middle2");
372 tryCompare(navigationListView.currentItem.navigation, "navigationId", "middle2");
376− mouseClick(dashNavigationButton);
374+ mouseClick(searchTextField);
377− compare(dashNavigationButton.showList, true);
375+ tryCompare(peExtraPanel, "visible", true);
378 waitForRendering(navigationListView);
376 waitForRendering(navigationListView);
379 waitForRendering(navigationListView.currentItem);
377 waitForRendering(navigationListView.currentItem);
380− mouseClick(backButton);
378+ mouseClick(findChild(header1, "backButton"));
382− tryCompare(dashNavigationButton.currentNavigation, "navigationId", "root");
380+ tryCompare(dashNavigation.currentNavigation, "navigationId", "root");
383 tryCompare(navigationListView.currentItem.navigation, "navigationId", "root");
381 tryCompare(navigationListView.currentItem.navigation, "navigationId", "root");
384− compare(dashNavigationButton.showList, true);
382+ compare(peExtraPanel.visible, true);
385− mouseClick(dashNavigationButton);
383+ mouseClick(header0);
386− compare(dashNavigationButton.showList, false);
384+ compare(peExtraPanel.visible, false);
388− mouseClick(dashNavigationButton);
386+ tryCompare(headerContainer, "contentY", headerContainer.height);
389− compare(dashNavigationButton.showList, true);
387+ mouseClick(searchButton);
388+ tryCompare(peExtraPanel, "visible", true);
390 tryCompare(navigationListView.currentItem.navigation, "loaded", true);
389 tryCompare(navigationListView.currentItem.navigation, "loaded", true);
391− var navigationList0 = findChild(dashNavigationButton, "navigation0");
390+ var navigationList0 = findChild(dashNavigation, "navigation0");
392 tryCompare(navigationList0, "implicitHeight", navigationList0.itemHeight * 8);
391 tryCompare(navigationList0, "implicitHeight", navigationList0.itemHeight * 8);
393 tryCompare(navigationList0, "height", navigationList0.implicitHeight);
392 tryCompare(navigationList0, "height", navigationList0.implicitHeight);
394− navigation = findChild(dashNavigationButton, "navigation0child2");
393+ navigation = findChild(dashNavigation, "navigation0child2");
395 mouseClick(navigation);
394 mouseClick(navigation);
396− compare(dashNavigationButton.showList, true);
395+ compare(peExtraPanel.visible, true);
397− navigationList1 = findChild(dashNavigationButton, "navigation1");
396+ navigationList1 = findChild(dashNavigation, "navigation1");
398 compare(navigationList1.navigation.loaded, false);
397 compare(navigationList1.navigation.loaded, false);
399− tryCompare(dashNavigationButton.currentNavigation, "navigationId", "middle2");
400− allButton = findChild(navigationList1, "allButton");
401− tryCompare(dashNavigationButton.currentNavigation, "navigationId", "middle2");
398+ tryCompare(dashNavigation.currentNavigation, "navigationId", "middle2");
402− mouseClick(allButton);
399+ mouseClick(header0);
403− tryCompare(dashNavigationButton.currentNavigation, "navigationId", "middle2");
400+ tryCompare(dashNavigation.currentNavigation, "navigationId", "middle2");
406− function test_altNavigation() {
403+ function goToSecondLevel() {
407 var dashContentList = findChild(dashContent, "dashContentList");
404 var dashContentList = findChild(dashContent, "dashContentList");
408 tryCompareFunction(function() { return findChild(dashContentList.currentItem, "dashNavigation") != null; }, true);
405 tryCompareFunction(function() { return findChild(dashContentList.currentItem, "dashNavigation") != null; }, true);
409 var dashNavigation = findChild(dashContentList.currentItem, "dashNavigation");
406 var dashNavigation = findChild(dashContentList.currentItem, "dashNavigation");
410− tryCompare(dashNavigation, "visible", true);
407+ var peExtraPanel = findChild(dashContentList.currentItem, "peExtraPanel");
411− var dashNavigationButton = findChild(dashContentList.currentItem, "altNavigationButton");
408+ var searchButton = findChild(dashContentList.currentItem, "search_action_button");
412− verify(dashNavigationButton, "Can't find navigation button");
409+ var searchTextField = findChild(dashContentList.currentItem, "searchTextField");
413−
410+ compare(peExtraPanel.visible, false);
414− compare(dashNavigationButton.showList, false);
411+ mouseClick(searchButton);
415− waitForRendering(dashNavigationButton);
412+ tryCompare(peExtraPanel, "visible", true);
416− mouseClick(dashNavigationButton);
413+
417− compare(dashNavigationButton.showList, true);
419− var navigationListView = findChild(dashNavigationButton, "navigationListView");
414+ var navigationListView = findChild(dashNavigation, "navigationListView");
420 tryCompareFunction(function() {
415 tryCompareFunction(function() {
421 return navigationListView.currentItem &&
416 return navigationListView.currentItem &&
422 navigationListView.currentItem.navigation &&
417 navigationListView.currentItem.navigation &&
423 navigationListView.currentItem.navigation.loaded; }, true);
418 navigationListView.currentItem.navigation.loaded; }, true);
425 waitForRendering(navigationListView);
419 waitForRendering(navigationListView);
426 waitForRendering(navigationListView.currentItem);
420 waitForRendering(navigationListView.currentItem);
422+ var navigation4 = findChild(dashNavigation, "navigation0child4");
423+ mouseClick(navigation4);
428− tryCompare(dashNavigationButton.currentNavigation, "navigationId", "altrootChild1");
424+ tryCompare(dashNavigation.currentNavigation, "navigationId", "middle4");
429− tryCompare(navigationListView.currentItem.navigation, "navigationId", "altroot");
425+ tryCompare(navigationListView.currentItem.navigation, "navigationId", "middle4");
430−
426+ tryCompare(dashNavigation.currentNavigation, "loaded", true);
431− var allButton = findChild(dashNavigationButton, "allButton");
432− compare(allButton.visible, false);
433− var backButton = findChild(navigationListView, "backButton");
434− compare(backButton.visible, false);
436− var navigation = findChild(dashNavigationButton, "navigation0child3");
437− mouseClick(navigation);
438− compare(dashNavigationButton.showList, false);
439− tryCompare(dashNavigationButton.currentNavigation, "navigationId", "altrootChild3");
440− tryCompare(navigationListView.currentItem.navigation, "navigationId", "altroot");
442− mouseClick(dashNavigationButton);
443− compare(dashNavigationButton.showList, true);
444 waitForRendering(navigationListView);
428 waitForRendering(navigationListView);
445 waitForRendering(navigationListView.currentItem);
429 waitForRendering(navigationListView.currentItem);
446− compare(allButton.visible, false);
448− navigation = findChild(dashNavigationButton, "navigation0child2");
431+ var navigation44 = findChild(dashNavigation, "navigation1child4");
449− mouseClick(navigation);
432+ mouseClick(navigation44);
450− compare(dashNavigationButton.showList, false);
451− tryCompare(dashNavigationButton.currentNavigation, "navigationId", "altrootChild2");
433+ tryCompare(dashNavigation.currentNavigation, "navigationId", "childmiddle44");
452− tryCompare(navigationListView.currentItem.navigation, "navigationId", "altroot");
434+ tryCompare(navigationListView.currentItem.navigation, "navigationId", "childmiddle44");
435+ tryCompare(dashNavigation.currentNavigation, "loaded", true);
454− mouseClick(dashNavigationButton);
455− compare(dashNavigationButton.showList, true);
456 waitForRendering(navigationListView);
437 waitForRendering(navigationListView);
457 waitForRendering(navigationListView.currentItem);
438 waitForRendering(navigationListView.currentItem);
458− verify(!backButton.visible, "Back button should not be visible");
460− compare(navigationListView.count, 1, "There should be no second-level navigation");
440+ // header 0 is hidden
441+ var header0 = findChild(dashNavigation, "dashNavigationHeader0");
442+ compare(header0.height, 0);
445+ function test_navigationSecondLevelToRoot() {
448+ var dashContentList = findChild(dashContent, "dashContentList");
449+ var dashNavigation = findChild(dashContentList.currentItem, "dashNavigation");
450+ var navigationListView = findChild(dashNavigation, "navigationListView");
451+ var peExtraPanel = findChild(dashContentList.currentItem, "peExtraPanel");
453+ // Go directly to the root pressing the back button of header1
454+ var header1 = findChild(dashNavigation, "dashNavigationHeader1");
455+ compare(header1.backVisible, true);
456+ mouseClick(findChild(header1, "backButton"));
462− mouseClick(dashNavigationButton);
458+ tryCompare(dashNavigation.currentNavigation, "navigationId", "root");
463− compare(dashNavigationButton.showList, false);
459+ tryCompare(navigationListView.currentItem.navigation, "navigationId", "root");
460+ compare(peExtraPanel.visible, true);
466− function test_navigationsClosing() {
463+ function test_navigationSecondLevelToFirstName() {
467 var dashContentList = findChild(dashContent, "dashContentList");
466 var dashContentList = findChild(dashContent, "dashContentList");
468− tryCompareFunction(function() { return findChild(dashContentList.currentItem, "dashNavigation") != null; }, true);
469 var dashNavigation = findChild(dashContentList.currentItem, "dashNavigation");
467 var dashNavigation = findChild(dashContentList.currentItem, "dashNavigation");
470− tryCompare(dashNavigation, "visible", true);
468+ var navigationListView = findChild(dashNavigation, "navigationListView");
471− var dashNavigationButton = findChild(dashContentList.currentItem, "navigationButton");
472− verify(dashNavigationButton, "Can't find navigation button");
473− var dashAltNavigationButton = findChild(dashContentList.currentItem, "altNavigationButton");
469+ var peExtraPanel = findChild(dashContentList.currentItem, "peExtraPanel");
474− verify(dashAltNavigationButton, "Can't find alternative navigation button");
476− waitForRendering(dashNavigationButton);
471+ // Go directly to the first pressing the header1
477− waitForRendering(dashAltNavigationButton);
472+ var header1 = findChild(dashNavigation, "dashNavigationHeader1");
473+ mouseClick(header1);
479− compare(dashNavigationButton.showList, false);
475+ tryCompare(dashNavigation.currentNavigation, "navigationId", "middle4");
480− compare(dashAltNavigationButton.showList, false);
476+ tryCompare(navigationListView.currentItem.navigation, "navigationId", "middle4");
477+ compare(peExtraPanel.visible, false);
482− mouseClick(dashAltNavigationButton);
480+ function test_navigationSecondLevelToFirstBack() {
483− compare(dashNavigationButton.showList, false);
481+ goToSecondLevel();
484− compare(dashAltNavigationButton.showList, true);
486− var navigationListView = findChild(dashAltNavigationButton, "navigationListView");
483+ var dashContentList = findChild(dashContent, "dashContentList");
487− tryCompareFunction(function() {
484+ var dashNavigation = findChild(dashContentList.currentItem, "dashNavigation");
488− return navigationListView.currentItem &&
485+ var navigationListView = findChild(dashNavigation, "navigationListView");
489− navigationListView.currentItem.navigation &&
486+ var peExtraPanel = findChild(dashContentList.currentItem, "peExtraPanel");
490− navigationListView.currentItem.navigation.loaded; }, true);
488+ // Go back to the first level pressing the back button of header2
492− var blackRect = findChild(dashNavigation, "blackRect");
489+ var header2 = findChild(dashNavigation, "dashNavigationHeader2");
493− tryCompare(blackRect, "opacity", 0.5);
490+ compare(header2.backVisible, true);
491+ mouseClick(findChild(header2, "backButton"));
495− mouseClick(dashNavigationButton);
493+ tryCompare(dashNavigation.currentNavigation, "navigationId", "middle4");
496− compare(dashNavigationButton.showList, false);
494+ tryCompare(navigationListView.currentItem.navigation, "navigationId", "middle4");
497− compare(dashAltNavigationButton.showList, false);
495+ compare(peExtraPanel.visible, true);
499− tryCompare(navigationListView, "visible", false);
498+ function test_clearSearchWithNavigationClosed() {
499+ var dashContentList = findChild(dashContent, "dashContentList");
500+ var searchButton = findChild(dashContentList.currentItem, "search_action_button");
501+ var peExtraPanel = findChild(dashContentList.currentItem, "peExtraPanel");
502+ var searchTextField = findChild(dashContentList.currentItem, "searchTextField");
501− mouseClick(dashNavigationButton);
504+ compare(peExtraPanel.visible, false);
502− compare(dashNavigationButton.showList, true);
505+ mouseClick(searchButton);
503− compare(dashAltNavigationButton.showList, false);
506+ tryCompare(peExtraPanel, "visible", true);
505− navigationListView = findChild(dashNavigationButton, "navigationListView");
508+ typeString("A");
506− tryCompare(navigationListView.currentItem.navigation, "loaded", true);
509+ compare(peExtraPanel.visible, false);
508− mouseClick(dashAltNavigationButton);
511+ var clearIcon = findChild(searchTextField, "clearIcon");
509− compare(dashNavigationButton.showList, false);
512+ mouseClick(clearIcon);
510− compare(dashAltNavigationButton.showList, false);
513+ tryCompare(peExtraPanel, "visible", true);
513− function test_navigationsSwipeToNextScope() {
516+ function test_navigationShowFilterButton() {
514 var dashContentList = findChild(dashContent, "dashContentList");
519 var dashContentList = findChild(dashContent, "dashContentList");
515− tryCompareFunction(function() { return findChild(dashContentList.currentItem, "dashNavigation") != null; }, true);
516− var dashNavigation = findChild(dashContentList.currentItem, "dashNavigation");
520+ var searchTextField = findChild(dashContentList.currentItem, "searchTextField");
517− tryCompare(dashNavigation, "visible", true);
521+
518− var dashNavigationButton = findChild(dashContentList.currentItem, "altNavigationButton");
522+ verify(!searchTextField.focus)
519− verify(dashNavigationButton, "Can't find navigation button");
523+ verify(searchTextField.clearIsSettings)
521− compare(dashNavigationButton.showList, false);
525+ mouseClick(searchTextField)
522− waitForRendering(dashNavigationButton);
526+
523− mouseClick(dashNavigationButton, 0, 0);
527+ verify(searchTextField.focus)
524− compare(dashNavigationButton.showList, true);
528+ verify(!searchTextField.clearIsSettings)
526− mouseFlick(dashNavigationButton, dashNavigationButton.width - units.gu(1), units.gu(1), units.gu(1), units.gu(1));
531+ function test_navigationShowFilterPopup() {
527− compare(dashNavigationButton.showList, false);
532+ goToSecondLevel();
529 var dashContentList = findChild(dashContent, "dashContentList");
534 var dashContentList = findChild(dashContent, "dashContentList");
530− expectFail("", "should not change the parent list.");
535+ var searchTextField = findChild(dashContentList.currentItem, "searchTextField");
531− tryCompare(dashContentList, "currentIndex", 1);
536+ var clearIcon = findChild(searchTextField, "clearIcon");
538+ var filtersPopover = findChild(shell, "filtersPopover")
539+ verify(!filtersPopover);
541+ mouseClick(clearIcon);
543+ filtersPopover = findChild(shell, "filtersPopover")
545+ verify(filtersPopover);
548+ function test_primaryFilter() {
549+ var dashContentList = findChild(dashContent, "dashContentList");
550+ tryCompareFunction(function() { return findChild(dashContentList.currentItem, "dashNavigation") != null; }, true);
551+ dashContentList.currentItem.item.scope.setHasNavigation(false);
552+ var peExtraPanel = findChild(dashContentList.currentItem, "peExtraPanel");
553+ var searchButton = findChild(dashContentList.currentItem, "search_action_button");
555+ compare(peExtraPanel.visible, false);
556+ mouseClick(searchButton);
557+ tryCompare(peExtraPanel, "visible", true);
559+ tryCompareFunction(function() { return findChild(peExtraPanel, "OSF3") != null; }, true);
534 function test_searchHint() {
562 function test_searchHint() {
@@ -540,7 +568,7 @@ Item {
540 var categoryListView = findChild(scope, "categoryListView");
568 var categoryListView = findChild(scope, "categoryListView");
541 waitForRendering(categoryListView);
569 waitForRendering(categoryListView);
543− compare(categoryListView.pageHeader.item.searchHint, "Search People");
571+ compare(categoryListView.pageHeader.searchHint, "Search People");
546 function compareArrays(a, b) {
574 function compareArrays(a, b) {