elements = doc.select("div.passed span.step-duration");
// assertFalse("step durations must not be empty", elements.isEmpty());
List<String> stepDurations = new ArrayList<String>();
for (Element element : elements) {
stepDurations.add(element.text());
int index = elements.indexOf(element);
if (index >= 10) break;
}
assertThat("Step durations must be same", stepDurations,
is(Arrays.asList(new String [] {"107 ms", "0 ms", "0 ms", "0 ms", "0 ms", "0 ms", "0 ms", "3 ms", "0 ms", "0 ms", "0 ms"})));
}