diff --git a/src/tests/elementary/efl_ui_test_collection_view.c b/src/tests/elementary/efl_ui_test_collection_view.c index 8740fdb623..d064203ffb 100644 --- a/src/tests/elementary/efl_ui_test_collection_view.c +++ b/src/tests/elementary/efl_ui_test_collection_view.c @@ -139,11 +139,11 @@ EFL_START_TEST(test_efl_ui_collection_view_select) sel_val = efl_model_property_get(model, "child.selected"); ck_assert(eina_value_type_get(sel_val) == EINA_VALUE_TYPE_ERROR); - click_object_at(lv, 50, 5); - get_me_to_those_events(lv); + efl_future_then(model, efl_model_property_ready_get(model, "child.selected"), .success = _quit); + + click_object_at(lv, 50, 5); + ecore_main_loop_begin(); - //efl_future_then(model, efl_model_property_ready_get(model, "child.selected"), .success = _quit); - //ecore_main_loop_begin(); sel_val = efl_model_property_get(model, "child.selected"); ck_assert(eina_value_type_get(sel_val) == EINA_VALUE_TYPE_ULONG); ck_assert(eina_value_ulong_get(sel_val, &sel));