List<String> expectedValues, int[] indexes) {
DropDownFieldInspector dropDownField = dropDownField(dropDownId);
dropDownField.popup().itemsTable().assertVisible(false);
dropDownField.field().typeKeys(textToType);
sleep(1500);
dropDownField.popup().itemsTable().assertVisible(true);
for (int i = 0; i < expectedValues.size(); i++) {
String expectedValue = expectedValues.get(i);
dropDownField.popup().items().get(indexes[i]).assertText(expectedValue);
// todo: it seems that this test doesn't actually check which values are visible and will succeed on any list of visible suggestions. fix this
}