Revision 2c457ade
Added by Andreas Kohlbecker over 12 years ago
modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/test/java/eu/etaxonomy/dataportal/selenium/tests/cyprus/Allium_guttatum_subsp_guttatum_TaxonProfileTest.java | ||
---|---|---|
98 | 98 |
// assertEquals("Systematics\nTaxonomy and nomenclature follow Mathew (1996).\nMathew B. 1996: A review of Allium section Allium . - Kew.", featureBlock.getText()); |
99 | 99 |
|
100 | 100 |
featureBlock = p.getFeatureBlockAt(4, "distribution", "div", "span"); |
101 |
assertEquals("Distribution\nDivision 21,2\n1. R. D. Meikle, Flora of Cyprus 1. 1977, 2. R. Hand, Supplementary notes to the flora of Cyprus VI. in Willdenowia 39. 2009", featureBlock.getText());
|
|
101 |
assertEquals("Distribution\nDivision 21,2\n1. R. D. Meikle, Flora of Cyprus 2. 1985, 2. R. Hand, Supplementary notes to the flora of Cyprus VI. in Willdenowia 39. 2009", featureBlock.getText());
|
|
102 | 102 |
assertEquals("Distribution", featureBlock.getHeader()); |
103 | 103 |
assertEquals("expecting two footnote keys", 2, featureBlock.getFootNoteKeys().size()); |
104 | 104 |
|
... | ... | |
110 | 110 |
assertEquals("#ffff00", footNoteKey_1.getElement().getCssValue("background-color")); |
111 | 111 |
assertEquals("#ffff00", footNote_1.getElement().getCssValue("background-color")); |
112 | 112 |
|
113 |
assertEquals("1. R. D. Meikle, Flora of Cyprus 1. 1977", footNote_1.getText());
|
|
113 |
assertEquals("1. R. D. Meikle, Flora of Cyprus 2. 1985", footNote_1.getText());
|
|
114 | 114 |
|
115 | 115 |
WebElement distributionMapImage = featureBlock.getElement().findElement(By.className("distribution_map")); |
116 | 116 |
// assertEquals("http://edit.br.fgov.be/edit_wp5/v1.1/rest_gen.php?title=a:indigenous&ad=cyprusdivs:bdcode:a:2&as=z:ffffff,606060,,|y:1874CD,,|a:339966,,0.1,&l=background_gis:y,cyprusdivs:z&ms=500,380&bbox=32,34,35,36&label=1&img=true&legend=1&mlp=3&mc_s=Georgia,15,blue&mc=&recalculate=false", distributionMapImage.getAttribute("src")); |
Also available in: Unified diff
dapted to latest data