on xenial help sign in
As suggested
commitd84064b48b5d175c727ff305ff4964a283ece693 authorAndrea Cimitan <andrea.cimitan@gmail.com> dateThu 12 Feb 2015, 14:03 (12 years ago) parent138d3fe
1 file changed+5−1
tests/qmltests/Dash/tst_Dash.qml+5−1
tests/qmltests/Dash/tst_Dash.qml+5−1
@@ -484,10 +484,14 @@ Item {
484484 mouseClick(openButton);
485485
486486 tryCompare(subPageLoader, "open", false);
487+ tryCompare(subPageLoader, "x", subPageLoader.width);
488+
487489 compare(dashTempScopeItem.scope.id, "MockScope9");
488490
489491 // Go back
490− dashTempScopeItem.backClicked();
492+ var dashTempScopeItemHeader = findChild(dashTempScopeItem, "scopePageHeader");
493+ var backButton = findChild(findChild(dashTempScopeItemHeader, "innerPageHeader"), "customBackButton");
494+ mouseClick(backButton);
491495
492496 // Check temp scope is gone
493497 tryCompare(dashTempScopeItem, "x", dash.width);