Revision ef6a4ce9
Added by Andreas Kohlbecker almost 5 years ago
src/test/java/eu/etaxonomy/dataportal/selenium/tests/reference/DescriptionElementsTest.java | ||
---|---|---|
52 | 52 |
|
53 | 53 |
FeatureBlock fb = p.getFeatureBlockAt(0, "biology-and-ecology", "div", "span"); |
54 | 54 |
assertNotNull(fb); |
55 |
assertEquals(2, fb.getFeatureBlockElements().size());
|
|
56 |
assertEquals("Flowers with white blossoms on Testisland A. 00-05-00 to 00-06-00 (Lem, New Species in the solar system: p.99)", fb.getFeatureBlockElements().get(0).getText());
|
|
55 |
assertEquals(3, fb.getFeatureBlockElements().size());
|
|
56 |
assertEquals("Flowers with white blossoms on Testisland A. 0000-05 to 0000-06 (Lem, New Species in the solar system: p.99)", fb.getFeatureBlockElements().get(0).getText());
|
|
57 | 57 |
assertEquals("Flowers with white blossoms on Testisland B. Mai to June (Lem, New Species in the solar system: p.99)", fb.getFeatureBlockElements().get(1).getText()); |
58 |
assertEquals("Flowers with white blossoms on Testisland C. 2000 to 2000-05", fb.getFeatureBlockElements().get(2).getText()); |
|
58 | 59 |
|
59 | 60 |
} |
60 | 61 |
|
Also available in: Unified diff
ref #8245 stripping trailing zeros in description element time priods, with test