16 |
16 |
import org.apache.log4j.Level;
|
17 |
17 |
import org.apache.log4j.Logger;
|
18 |
18 |
import org.junit.Before;
|
19 |
|
import org.junit.Ignore;
|
20 |
19 |
import org.junit.Test;
|
21 |
20 |
import org.openqa.selenium.By;
|
22 |
21 |
import org.openqa.selenium.WebElement;
|
... | ... | |
55 |
54 |
}
|
56 |
55 |
|
57 |
56 |
@Test
|
58 |
|
@Ignore // see #9234
|
|
57 |
//@Ignore
|
59 |
58 |
public void test1() throws MalformedURLException {
|
60 |
59 |
TaxonPage p = new TaxonPage(driver, getContext(), glenodinium_apiculatum_t, "specimens");
|
61 |
60 |
WebElement specimensTable = p.getDataPortalContent().getElement().findElement(By.cssSelector("#specimens table.derivate_tree"));
|
... | ... | |
93 |
92 |
assertEquals("2017E68", dl2.joinedDescriptionElementText("Accession number:"));
|
94 |
93 |
assertEquals("\nCode:\nCEDiT", dl2.joinedDescriptionElementText("Collection"));
|
95 |
94 |
assertEquals("Specimen", dl2.joinedDescriptionElementText("Kind of unit:"));
|
|
95 |
assertEquals("Gathering in-situ", dl2.joinedDescriptionElementText("Gathering type:"));
|
96 |
96 |
assertEquals("Epitype (designated by Kretschmann, J., Žerdoner ?alasan, A. & Kusber, W.-H. 20171): Germany, Berlin, 52°31'1.2\"N, 13°21'E, 28 Mar 2016, D047 (CEDiT 2017E68).",
|
97 |
97 |
dl2.joinedDescriptionElementText("Specimen type designations:"));
|
98 |
98 |
DescriptionElement specimenTypeDesignation_dd = dl2.getDescriptionGroups().get("Specimen type designations:").get(0);
|
... | ... | |
125 |
125 |
assertEquals("M-0289351", dl2.joinedDescriptionElementText("Accession number:"));
|
126 |
126 |
assertEquals("\nCode:\nM", dl2.joinedDescriptionElementText("Collection"));
|
127 |
127 |
assertEquals("Specimen", dl2.joinedDescriptionElementText("Kind of unit:"));
|
|
128 |
assertEquals("Gathering in-situ", dl2.joinedDescriptionElementText("Gathering type:"));
|
128 |
129 |
assertEquals("Isolectotype (designated by Kretschmann, J., Žerdoner ?alasan, A. & Kusber, W.-H. 20172): Germany, Berlin, 52°31'1.2\"N, 13°21'E, 28 Mar 2016, D047 (M M-0289351). http://herbarium.bgbm.org/object/B400042045",
|
129 |
130 |
dl2.joinedDescriptionElementText("Specimen type designations:"));
|
130 |
131 |
specimenTypeDesignationLinks = dl2.getDescriptionGroups().get("Specimen type designations:").get(0).getDescriptionElementContent().getLinksInElement();
|
ref #7599, ref #7599 specimen tree view: fixing bug and adapting test