Project

General

Profile

Revision bed2ac04

IDbed2ac049fce82b3785ab462dd49d0b1724d2b80
Parent b9d3af66
Child 57991ddf

Added by Andreas Kohlbecker over 5 years ago

extending test

View differences:

src/test/java/eu/etaxonomy/dataportal/selenium/tests/cichorieae/Cichorieae_NamePageTest.java
9 9
 */
10 10
package eu.etaxonomy.dataportal.selenium.tests.cichorieae;
11 11

  
12
import static org.junit.Assert.*;
12
import static org.junit.Assert.assertEquals;
13
import static org.junit.Assert.assertNotNull;
13 14

  
14
import java.net.MalformedURLException;
15 15
import java.util.UUID;
16 16

  
17 17
import org.junit.Test;
......
60 60
        GenericPortalPage p = new GenericPortalPage(driver, getContext(), "name/" + lapsana_zacintha_Uuid);
61 61
        assertEquals(getContext().prepareTitle("Crepis zacintha"), p.getTitle());
62 62
        TaxonSynonymyPage synonymyPage = new TaxonSynonymyPage(driver, getContext());
63

  
64
        assertEquals("≡ Lapsana zacintha L., Sp. Pl.: 811. 1753", synonymyPage.getHomotypicalGroupSynonymName(1));
63 65
        WebElement lapsana_zacintha_synonym = synonymyPage.getHomotypicalGroupSynonym(1);
64 66
        assertNotNull("Synonym 'Lapsana zacintha L.' should be highlighted", lapsana_zacintha_synonym.findElement(By.className("highlite")));
67

  
68
        assertEquals("≡ Rhagadiolus zacintha (L.) All., Fl. Pedem. 1: 227. 1785", synonymyPage.getHomotypicalGroupSynonymName(2));
69
        assertEquals("≡ Zacintha verrucosa Gaertn., Fruct. Sem. Pl. 2: 358. 1791, nom. nov.", synonymyPage.getHomotypicalGroupSynonymName(3));
70

  
71

  
65 72
    }
66 73

  
67 74

  

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)