Project

General

Profile

« Previous | Next » 

Revision c8ad8015

Added by Andreas Müller over 2 years ago

fix selenium tests for updated caches (cont.)

View differences:

src/test/java/eu/etaxonomy/dataportal/selenium/tests/cyprus/Cyprus_OriginalSourceTest.java
79 79
        assertEquals("Chromosome numbers", featureBlock.getHeaderText());
80 80

  
81 81
        // see  #2288 (Cyprus: ChromosomeNumbers: formating nameInSource)
82
        assertEquals("Chromosome numbers\n2n = 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());
82
        assertEquals("Chromosome numbers\n2n = 18 (B. Slavík, Jarolímová, V. & Chrtek, J. 1993: Chromosome counts of some plants from Cyprus. – Candollea 48: 221-230 (as Cistus creticus L.)) (B. Slavík, Jarolímová, V. & Chrtek, J. 2002: Chromosome counts of some plants from Cyprus. 2. – Acta Univ. Carol., Biol. 46: 295-302 (as Cistus creticus L.))", featureBlock.getText());
83 83

  
84 84
        assertFalse("expecting no footnote keys", featureBlock.hasFootNoteKeys());
85 85
        List<WebElement> linksInFeatureBlock = featureBlock.getElement().findElements(By.tagName("a"));

Also available in: Unified diff