Project

General

Profile

Revision 7d861f5c

ID7d861f5c4a47821781fbd057b358f9d9e2064c64
Parent 88ed5ecf
Child b0c0af54

Added by Andreas Kohlbecker 4 months ago

ref #9721 adapting test assertions

View differences:

src/test/java/eu/etaxonomy/dataportal/selenium/tests/reference/SpecimenTableViewTest.java
172 172
        assertEquals("http://testid.org/2017E68" ,linksInDetails.get(1).getText());
173 173
        assertEquals("http://testid.org/2017E68", linksInDetails.get(1).getUrl());
174 174
        assertEquals("Epitype of Glenodinium apiculatum Ehrenb.", detailsLines[3]);
175
        assertEquals("Specimen Scans: CEDiT 2017E68", detailsLines[4]);
175
        assertEquals("Specimen Scans: IMG 99999 (Sisymbrium_aegyptiacum_C1), M0093531 (Erigeron annus), 10.5555 (JSTOR image viewer)", detailsLines[4]);
176 176
        assertEquals("Detail Images: Masks", detailsLines[5]);
177
        assertEquals("Masks" ,linksInDetails.get(3).getText());
178
        assertEquals("https://imgs.xkcd.com/comics/masks_2x.png", linksInDetails.get(3).getUrl());
177
        assertEquals("Masks", linksInDetails.get(5).getText());
178
        assertEquals("https://imgs.xkcd.com/comics/masks_2x.png", linksInDetails.get(5).getUrl());
179 179

  
180 180
        assertEquals("Specimen summary: M M-0289351", detailsLines[6]);
181 181
        assertEquals("Preferred stable URI: http://herbarium.bgbm.org/object/B400042045", detailsLines[7]);
182 182
        assertEquals("Isolectotype of Glenodinium apiculatum Ehrenb.", detailsLines[8]);
183
        assertEquals(6, linksInDetails.size());
183
        assertEquals(8, linksInDetails.size());
184 184

  
185 185
    }
186 186

  

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)