Revision 22f5e82d
Added by Andreas Kohlbecker over 9 years ago
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/test/java/eu/etaxonomy/dataportal/selenium/tests/cyprus/Cyprus_OriginalSourceTest.java | ||
---|---|---|
81 | 81 |
p.testTableOfContentEntry(tocIndex++, "Chromosome numbers", "chromosome_numbers"); |
82 | 82 |
p.testTableOfContentEntry(tocIndex++, "Distribution", "distribution"); |
83 | 83 |
|
84 |
FeatureBlock featureBlock = p.getFeatureBlockAt(2, "chromosome-numbers", "div", "li"); //FIXME <div><li> bug in portal
|
|
84 |
FeatureBlock featureBlock = p.getFeatureBlockAt(2, "chromosome-numbers", "ul", "li");
|
|
85 | 85 |
assertEquals("Chromosome numbers\nCistus creticus L. 2n = 18 (B. Slavík & V. Jarolímová & J. Chrtek, Chromosome counts of some plants from Cyprus in Candollea 48. 1993 (as Cistus creticus L.)) (B. Slavík & V. Jarolímová & J. Chrtek, Chromosome counts of some plants from Cyprus. 2 in Acta Univ. Carol., Biol. 46. 2002 (as Cistus creticus L.))", featureBlock.getText()); |
86 | 86 |
assertEquals("Chromosome numbers", featureBlock.getHeader()); |
87 | 87 |
assertEquals("expecting no footnote keys", 0, featureBlock.getFootNoteKeys().size()); |
Also available in: Unified diff
refactoring theme_cdm_descriptionElementTextData() #3484 , mock implementation of feature block settings #3257, solves most issues of #3915 (handling of annotations and sources inconsistent in theme_cdm_descriptionElementTextData)