use of uk.ac.bbsrc.tgac.miso.webapp.integrationtest.page.ListPoolsPage in project miso-lims by miso-lims.
the class BulkPoolIT method testSelectForMerge.
@Test
public void testSelectForMerge() {
ListPoolsPage listPools = ListPoolsPage.getListPage(getDriver(), getBaseUrl());
DataTable pools = listPools.getTable();
// should get IPO200001 and IPO200002
pools.searchFor("IPO20000*");
pools.checkBoxForRow(0);
pools.checkBoxForRow(1);
Map<String, Integer> proportions = new HashMap<>();
proportions.put("IPO200001", 1);
proportions.put("IPO200002", 3);
BulkPoolPage newPage = listPools.mergeSelected(proportions);
assertNotNull(newPage);
}
Aggregations