Project

General

Profile

« Previous | Next » 

Revision 69d1d0e6

Added by Katja Luther almost 2 years ago

ref #10003: adapt tests

View differences:

src/test/java/eu/etaxonomy/dataportal/selenium/tests/reference/RegistrationPageTest.java
222 222
        // type designations in defined order
223 223
        // 1. Epitype
224 224
        assertEquals(
225
                "Epitype: Germany, Berlin, alt. 165 m, 52°31'1.2\"N, 13°21'E (WGS84), 28 Mar 2016, Ehrenberg D047; D. Veloper (CEDiT: 2017E68) http://testid.org/2017E68",
225
                "Epitype: Germany, Berlin, alt. 165 m, 52°31'1.2\"N, 13°21'E (WGS84), 28 Mar 2016, Ehrenberg D047; D. Veloper (CEDiT: 2017E68, destroyed) http://testid.org/2017E68",
226 226
                regItem.getSpecimenTypeDesignations().get(0).getText());
227 227

  
228 228
        // 2. Lectotype
src/test/java/eu/etaxonomy/dataportal/selenium/tests/reference/SpecimenTableViewTest.java
107 107
        int rowId = 1;
108 108
        assertTrue(rows.get(rowId).getAttribute("class").contains("summary_row"));
109 109
        List<WebElement> cells = rows.get(rowId).findElements(By.tagName("td"));
110
        assertEquals("(B: SP-99999)", cells.get(1).getText());
110
        assertEquals("(B: SP-99999, destroyed)", cells.get(1).getText());
111 111
        // cell number 1 has colspan = 5 !!!
112 112
        assertTrue(cells.get(2).findElement(By.tagName("img")).getAttribute("src")
113 113
                .endsWith(STEP_DONE_ICON)); // scan

Also available in: Unified diff