Revision 6e42c2eb
Added by Andreas Müller over 2 years ago
src/test/java/eu/etaxonomy/dataportal/selenium/tests/reference/MisappliedNamesTest.java | ||
---|---|---|
96 | 96 |
List<BaseElement> footnotes = ElementUtils.findFootNotes(p.getTaxonRelationships()); |
97 | 97 |
assertEquals(2, footnotes.size()); |
98 | 98 |
assertEquals("1. A&S: Plantas vasculares de Oz", footnotes.get(0).getText()); |
99 |
assertEquals("2. Lem, New Species in the solar system", footnotes.get(1).getText());
|
|
99 |
assertEquals("2. Lem: New Species in the solar system", footnotes.get(1).getText());
|
|
100 | 100 |
// "Species solaris" must not be in the footnotes as it has the same title as the short citation |
101 | 101 |
|
102 | 102 |
} |
... | ... | |
116 | 116 |
List<BaseElement> footnotes = ElementUtils.findFootNotes(p.getTaxonRelationships()); |
117 | 117 |
assertEquals(2, footnotes.size()); |
118 | 118 |
assertEquals("1. A&S: Plantas vasculares de Oz", footnotes.get(0).getText()); |
119 |
assertEquals("2. Lem, New Species in the solar system", footnotes.get(1).getText());
|
|
119 |
assertEquals("2. Lem: New Species in the solar system", footnotes.get(1).getText());
|
|
120 | 120 |
} |
121 | 121 |
|
122 | 122 |
/** |
... | ... | |
156 | 156 |
|
157 | 157 |
List<BaseElement> footnotes = ElementUtils.findFootNotes(p.getTaxonRelationships()); |
158 | 158 |
assertEquals(1, footnotes.size()); |
159 |
assertEquals("1. Greuter, W. & Rankin Rodríguez, R, Plantas vasculares de Cuba: inventario preliminar. Tercera edición, actualizada. Vascular plants of Cuba: a preliminary checklist. Third updated edition.", footnotes.get(0).getText());
|
|
159 |
assertEquals("1. Greuter, W. & Rankin Rodríguez, R: Plantas vasculares de Cuba: inventario preliminar. Tercera edición, actualizada. Vascular plants of Cuba: a preliminary checklist. Third updated edition.", footnotes.get(0).getText());
|
|
160 | 160 |
} |
161 | 161 |
|
162 | 162 |
/** |
Also available in: Unified diff
fix selenium tests for updated caches (cont.)