use of uk.ac.bbsrc.tgac.miso.webapp.integrationtest.page.IdentitySearchPage in project miso-lims by miso-lims.
the class ListTablesIT method testIdentitySearchToolSetup.
@Test
public void testIdentitySearchToolSetup() throws Exception {
// Goal: ensure all expected columns are present and no extra
login();
IdentitySearchPage page = IdentitySearchPage.get(getDriver(), getBaseUrl());
DataTable table = page.getSamplesTable();
List<String> headings = table.getColumnHeadings();
assertEquals("number of columns", samplesColumns.size(), headings.size());
for (String col : samplesColumns) {
assertTrue("Check for column: '" + col + "'", headings.contains(col));
}
}
Aggregations