Project

General

Profile

« Previous | Next » 

Revision 222784c5

Added by Andreas Kohlbecker almost 5 years ago

ref #5857 showing show citation, rule considered, and citation of nomenclatural status in footnotes, adapting tests

View differences:

src/main/java/eu/etaxonomy/dataportal/elements/RegistrationItem.java
40 40
    protected WebElement identifier;
41 41
    protected WebElement nameElement;
42 42
    protected List<BaseElement> nameRelationsipsElements;
43
    protected List<BaseElement> nameRelationsipFootnotes;
43
    protected List<BaseElement> registrationFootnotes;
44 44
    protected WebElement typifiedNameElement;
45 45
    protected WebElement summaryElement;
46 46

  
......
77 77
                }
78 78
            } catch (Exception e) { /* IGNORE */}
79 79
            try{
80
                List<WebElement> std = containerElement.findElements(By.cssSelector(".footnotes-name_relationships .footnote"));
81
                nameRelationsipFootnotes = new ArrayList<BaseElement>(std.size());
80
                List<WebElement> std = containerElement.findElements(By.cssSelector(".footnotes-registration_page .footnote"));
81
                registrationFootnotes = new ArrayList<BaseElement>(std.size());
82 82
                for(WebElement we : std){
83
                    nameRelationsipFootnotes.add(new BaseElement(we));
83
                    registrationFootnotes.add(new BaseElement(we));
84 84
                }
85 85
            } catch (Exception e) { /* IGNORE */}
86 86
            try{

Also available in: Unified diff