on xenial help sign in
Fix test broken by SDK behaviour change
cf1bb10Albert Astals
tests/qmltests/Dash/tst_GenericScopeView.qml+2−2
@@ -461,8 +461,8 @@ Item {
461
461
462 var innerHeader = findChild(header, "innerPageHeader");
462 var innerHeader = findChild(header, "innerPageHeader");
463 verify(innerHeader, "Could not find the inner header");
463 verify(innerHeader, "Could not find the inner header");
464− verify(Qt.colorEqual(innerHeader.textColor, data.foreground),
464+ verify(Qt.colorEqual(innerHeader.config.foregroundColor, data.foreground),
465− "Foreground color not equal: %1 != %2".arg(innerHeader.textColor).arg(data.foreground));
465+ "Foreground color not equal: %1 != %2".arg(innerHeader.config.foregroundColor).arg(data.foreground));
466
466
467 var background = findChild(header, "headerBackground");
467 var background = findChild(header, "headerBackground");
468 verify(background, "Could not find the background");
468 verify(background, "Could not find the background");
tests/qmltests/Dash/tst_PreviewListView.qml+2−2
@@ -100,8 +100,8 @@ Rectangle {
100
100
101 var innerHeader = findChild(header, "innerPageHeader");
101 var innerHeader = findChild(header, "innerPageHeader");
102 verify(innerHeader, "Could not find the inner header");
102 verify(innerHeader, "Could not find the inner header");
103− verify(Qt.colorEqual(innerHeader.textColor, UbuntuColors.darkGrey),
103+ verify(Qt.colorEqual(innerHeader.config.foregroundColor, UbuntuColors.darkGrey),
104− "Foreground color not equal: %1 != %2".arg(innerHeader.textColor).arg(UbuntuColors.darkGrey));
104+ "Foreground color not equal: %1 != %2".arg(innerHeader.config.foregroundColor).arg(UbuntuColors.darkGrey));
105
105
106 var background = findChild(header, "headerBackground");
106 var background = findChild(header, "headerBackground");
107 verify(background, "Could not find the background");
107 verify(background, "Could not find the background");