Project

General

Profile

« Previous | Next » 

Revision 28c5c87a

Added by Andreas Kohlbecker over 9 years ago

refactoring the feature node blocks - 1

View differences:

7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/test/java/eu/etaxonomy/dataportal/selenium/tests/cichorieae/Cichorieae_TechnicalAnnnotationsTest.java
52 52
        assertEquals("Distribution", tocLinks.get(0).getText());
53 53
        assertEquals("Credits", tocLinks.get(1).getText());
54 54

  
55
        // Credits contains an technical annotation but this mus not be displayed
55
        // Credits contains an technical annotation but this must not be displayed
56 56
        FeatureBlock creditsBlock = p.getFeatureBlockAt(1, "credits", "div", "div");
57 57
        //testing this is not possible due to SCHROTT-CODE // assertEquals("expecting 1 DescriptionElements in citation", 1, creditsBlock.getDescriptionElements().size());
58 58
        assertEquals("Credits\nBoufford D. E. 2009: Images (12 added)\nSmalla M. 2009: Images (1 added)\nSun H. 2009: Images (3 added)\nYue J. 2009: Images (1 added)\nZhang J. 2009: Images (1 added).", creditsBlock.getText());

Also available in: Unified diff