Project

General

Profile

Revision 1ef7687d

ID1ef7687d62a0d8ce0df6b8e49d9965d91ea8aee5
Parent 1be93be6
Child 8c4e3afc

Added by Andreas Kohlbecker over 7 years ago

adapting test to new html structure

View differences:

7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/main/java/eu/etaxonomy/dataportal/pages/TaxonProfilePage.java
22 22
import org.junit.Assert;
23 23
import org.openqa.selenium.By;
24 24
import org.openqa.selenium.NoSuchElementException;
25
import org.openqa.selenium.WebElement;
26 25
import org.openqa.selenium.WebDriver;
26
import org.openqa.selenium.WebElement;
27 27
import org.openqa.selenium.support.CacheLookup;
28 28
import org.openqa.selenium.support.FindBy;
29 29

  
......
113 113

  
114 114
    public String getTableOfContentHeader() {
115 115
        if(tableOfContent != null) {
116
            WebElement header = tableOfContent.findElement(By.tagName("h2"));
116
            WebElement header = tableOfContent.findElement(By.tagName("h3"));
117 117
            return header.getText();
118 118
        }
119 119
        return null;

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)