check(createMatrixProject());
}
private void check(Item p) throws IOException, SAXException {
HtmlPage page = new WebClient().getPage(p, "configure");
List<HtmlSelect> selects = page.selectNodes("//select");
assertTrue(selects.size()>0);
for (HtmlSelect select : selects) {
Set<String> title = new HashSet<String>();
for(HtmlOption o : select.getOptions()) {
assertTrue("Duplicate entry: "+o.getText(),title.add(o.getText()));