use of uk.ac.bbsrc.tgac.miso.webapp.integrationtest.page.ListLibraryAliquotsPage in project miso-lims by miso-lims.
the class BulkPoolIT method testSelectForPoolSeparately.
@Test
public void testSelectForPoolSeparately() {
// goal: confirm that using the List Library Aliquots page to select aliquots for pooling separately
// directs the page to the correct link with the correct aliquots
ListLibraryAliquotsPage listPage = ListLibraryAliquotsPage.getListPage(getDriver(), getBaseUrl());
DataTable aliquots = listPage.getTable();
// should get LDI701 and LDI702
aliquots.searchFor("LDI70*");
assertEquals(2, aliquots.countRows());
aliquots.checkBoxForRow(0);
aliquots.checkBoxForRow(1);
BulkPoolPage bulkPoolPage = listPage.poolSelectedSeparately();
assertNotNull(bulkPoolPage);
}
use of uk.ac.bbsrc.tgac.miso.webapp.integrationtest.page.ListLibraryAliquotsPage in project miso-lims by miso-lims.
the class BulkPoolIT method testSelectForPoolTogether.
@Test
public void testSelectForPoolTogether() {
// goal: confirm that using the List Aliquots page to select aliquots for pooling together
// directs the page to the correct link with the correct aliquots
ListLibraryAliquotsPage listPage = ListLibraryAliquotsPage.getListPage(getDriver(), getBaseUrl());
DataTable aliquots = listPage.getTable();
// should get LDI701 and LDI702
aliquots.searchFor("LDI70*");
assertEquals(2, aliquots.countRows());
aliquots.checkBoxForRow(0);
aliquots.checkBoxForRow(1);
BulkPoolPage bulkPoolPage = listPage.poolSelectedSeparately();
assertNotNull(bulkPoolPage);
}
Aggregations