Project

General

Profile

« Previous | Next » 

Revision a13c6392

Added by Katja Luther almost 2 years ago

ref #10003: add tests

View differences:

src/test/java/eu/etaxonomy/dataportal/selenium/tests/reference/SpecimensTopDownViewTest.java
68 68
        assertEquals("CEDiT at Botanic Garden and Botanical Museum Berlin-Dahlem (BGBM)", dl1.joinedDescriptionElementText("Collection:"));
69 69
        assertEquals("2017E68", dl1.joinedDescriptionElementText("Most significant identifier:"));
70 70
        assertEquals("2017E68", dl1.joinedDescriptionElementText("Accession number:"));
71
        assertEquals("destroyed", dl1.joinedDescriptionElementText("Status"));
71 72
        assertEquals("Epitype (designated by Kretschmann, J., ┼Żerdoner ?alasan, A. & Kusber, W.-H. 20172)",
72 73
                dl1.joinedDescriptionElementText("Specimen type designations:"));
73 74
        // 2
src/test/java/eu/etaxonomy/dataportal/selenium/tests/reference/SpecimensTreeViewTest.java
213 213
        assertEquals("Preserved Specimen", preserverdSpecimenTable_1.getHeaderText());
214 214
        assertEquals("Specimen", preserverdSpecimenTable_1.getDetailsValueCellText("Kind of unit"));
215 215
        assertEquals("2017E68", preserverdSpecimenTable_1.getDetailsValueCellText("Accession number"));
216
        assertEquals("destroyed", preserverdSpecimenTable_1.getDetailsValueCellText("Status"));
216 217
        assertEquals("http://testid.org/2017E68", preserverdSpecimenTable_1.getDetailsValueCellText("Preferred stable uri"));
217 218
        assertEquals("http://testid.org/2017E68", preserverdSpecimenTable_1.getDetailsValueCell("Preferred stable uri").getLinksInElement().get(0).getUrl());
218 219
        assertEquals("CEDiT at Botanic Garden and Botanical Museum Berlin-Dahlem (BGBM)", preserverdSpecimenTable_1.getDetailsValueCellText("Collection"));

Also available in: Unified diff