Project

General

Profile

« Previous | Next » 

Revision 0f32b53b

Added by Andreas Kohlbecker over 3 years ago

ref #9175 tests for map visibility

View differences:

src/main/java/eu/etaxonomy/dataportal/pages/TaxonPage.java
76 76
    }
77 77

  
78 78
    public List<WebElement> getTaxonNodeStatusContainer() {
79
        List<WebElement> taxonNodeStatus = portalContent.findElements(By.className("taxon-node-status"));
79
        List<WebElement> taxonNodeStatus = mainContent().findElements(By.className("taxon-node-status"));
80 80
        return taxonNodeStatus;
81 81
    }
82 82

  
83 83
    public List<TaxonNodeStatusElement> getTaxonNodeStates() {
84 84
        List<TaxonNodeStatusElement> statusEls = new ArrayList<>();
85
        List<WebElement> taxonNodeStatus = portalContent.findElements(By.className("taxon-node-status"));
85
        List<WebElement> taxonNodeStatus = mainContent().findElements(By.className("taxon-node-status"));
86 86
        for(WebElement el : taxonNodeStatus) {
87 87
            statusEls.add(new TaxonNodeStatusElement(el));
88 88
        }

Also available in: Unified diff