Revision e9970345
Added by Andreas Kohlbecker almost 3 years ago
src/test/java/eu/etaxonomy/dataportal/selenium/tests/reference/NomenclaturalSourceTest.java | ||
---|---|---|
49 | 49 |
public void testNomenclaturalReference() { |
50 | 50 |
|
51 | 51 |
WebElement acceptedName = p.getAcceptedName(); |
52 |
assertEquals("Nepenthes gracilis Korth., Verh. Nat. Gesch. Ned. Bezitt., Bot. 19: 22, t. 1 & 4. 1840 [& (J. T. K.) Spock & Scotty in Bot. Jahrb. Sol. 211: 591. 2194]1,2, [some typification note].", acceptedName.getText());
|
|
52 |
assertEquals("Nepenthes gracilis Korth., Verh. Nat. Gesch. Ned. Bezitt., Bot. 19: 22, t. 1 & 4. 1840 [& (J. T. K.) Spock & Scotty in Bot. Jahrb. Sol. 211: 591. 21941,2], [some typification note].", acceptedName.getText());
|
|
53 | 53 |
WebElement referenceElement = acceptedName.findElement(By.cssSelector(".reference")); |
54 | 54 |
assertEquals("Verh. Nat. Gesch. Ned. Bezitt., Bot. 19: 22, t. 1 & 4. 1840", referenceElement.getText()); |
55 | 55 |
} |
Also available in: Unified diff
ref #9674 footnote keys for annotations to multilanguageText name descriptions inside brackets - tests adapted