on xenial help sign in
movie preview test robustness and naming
5011ad3Michael Zanetti
tests/qmltests/Dash/Movie/tst_MoviePreview.qml+2−1
@@ -63,10 +63,11 @@ Item {
63 when: windowShown
63 when: windowShown
64
64
65 function init() {
65 function init() {
66+ waitForRendering(moviePreview);
66 root.calls = new Array();
67 root.calls = new Array();
67 }
68 }
68
69
69− function test_numofbuttons() {
70+ function test_actions() {
70 var buttons = findChild(moviePreview, "buttonList");
71 var buttons = findChild(moviePreview, "buttonList");
71 compare(buttons.count, 3);
72 compare(buttons.count, 3);
72
73