on xenial help sign in
potential race fix
commit789b9967a21ff962cf38eabba6bf6c0fe43970f9 authorNick Dedekind <nick.dedekind@canonical.com> dateWed 4 Jan 2017, 18:23 (10 years ago) parent94dd7a5
2 files changed+2−2
tests/qmltests/Panel/tst_Panel.qml+1−1 tests/qmltests/Panel/tst_PanelMenu.qml+1−1
tests/qmltests/Panel/tst_Panel.qml+1−1
@@ -350,7 +350,7 @@ PanelTest {
350350
351351 touchRelease(panel, startXPosition, panel.height);
352352
353− compare(panelRow.currentItemIndex, i, "Indicator item should be activated at position " + i);
353+ tryCompare(panelRow, "currentItemIndex", i, undefined, "Indicator item should be activated at position " + i);
354354 compare(menuContent.currentMenuIndex, i, "Menu conetent should be activated for item at position " + i);
355355
356356 // init for next indicatorItem
tests/qmltests/Panel/tst_PanelMenu.qml+1−1
@@ -127,7 +127,7 @@ PanelTest {
127127
128128 UT.UnityTestCase {
129129 id: testCase
130− name: "IndicatorsMenu"
130+ name: "PanelMenu"
131131 when: windowShown
132132
133133 function init() {