diff --git a/tests/unit/select/select_events.js b/tests/unit/select/select_events.js index 4867f118..7da894c8 100644 --- a/tests/unit/select/select_events.js +++ b/tests/unit/select/select_events.js @@ -16,7 +16,7 @@ same(menu.parents('.ui-dialog').length, 1); // select and close the dialog - menu.find('li').click(); + menu.parents('ui-dialog').find("span.ui-icon-delete").click(); //bring up the dialog again select.trigger(mouseUpTouchEnd);