Waiting for expected conditions instead of sleeping in creation of DefectTracker and populating defect list.