New code is faster and test needs to actually wait for the menubar to be in the initial state
commit253230c6c41647dbcf762c0c4d508b6f6ad58cdd
authorAlbert Astals Cid <albert.astals@canonical.com>
dateWed 22 Feb 2017, 12:51 (10 years ago)
parentdbdb570
tests/qmltests/ApplicationMenus/tst_MenuBar.qml+1
@@ -85,6 +85,7 @@ Item {
8585 menuBar.dismiss();
8686 menuBackend.modelData = appMenuData.generateTestData(5,5,2,3, "menu")
8787 activatedSpy.clear();
88+ waitForRendering(menuBar);
8889 }
8990
9091 function test_mouseNavigation() {