1
|
// $Id$
|
2
|
/**
|
3
|
* Copyright (C) 2009 EDIT
|
4
|
* European Distributed Institute of Taxonomy
|
5
|
* http://www.e-taxonomy.eu
|
6
|
*
|
7
|
* The contents of this file are subject to the Mozilla Public License Version 1.1
|
8
|
* See LICENSE.TXT at the top of this package for the full license terms.
|
9
|
*/
|
10
|
package eu.etaxonomy.dataportal.selenium.tests.cichorieae;
|
11
|
|
12
|
import static org.junit.Assert.assertEquals;
|
13
|
|
14
|
import java.net.MalformedURLException;
|
15
|
import java.util.UUID;
|
16
|
|
17
|
import org.junit.Test;
|
18
|
|
19
|
import eu.etaxonomy.dataportal.DataPortalContext;
|
20
|
import eu.etaxonomy.dataportal.junit.CdmDataPortalTestBase;
|
21
|
import eu.etaxonomy.dataportal.junit.DataPortalContextSuite.DataPortalContexts;
|
22
|
import eu.etaxonomy.dataportal.pages.GenericPortalPage;
|
23
|
import eu.etaxonomy.dataportal.pages.TaxonSynonymyPage;
|
24
|
|
25
|
/**
|
26
|
*
|
27
|
* @author a.kohlbecker
|
28
|
*
|
29
|
*/
|
30
|
|
31
|
@DataPortalContexts( { DataPortalContext.cichorieae })
|
32
|
public class Cichorieae_NamePageTest extends CdmDataPortalTestBase{
|
33
|
|
34
|
|
35
|
static UUID intybellia_rosea_cass_Uuid = UUID.fromString("b8f725f0-320a-49e5-aa9a-82cef1c47c17");
|
36
|
|
37
|
// static UUID lactuca_favratii_Uuid = UUID.fromString("6027e1fa-9fe5-4ddc-a2de-f72bfa7378c0");
|
38
|
//
|
39
|
// static UUID crepis_oenipontana_Uuid = UUID.fromString("31b8757f-6acb-4826-ba7f-b2d116dc713c");
|
40
|
//
|
41
|
// static UUID crepis_artificialis_Uuid = UUID.fromString("3eabdf89-ddeb-461c-b6f8-341bb8deb7bf");
|
42
|
|
43
|
|
44
|
@Test
|
45
|
public void intybellia_rosea_cass() throws MalformedURLException {
|
46
|
GenericPortalPage p = new GenericPortalPage(driver, getContext(), "name/" + intybellia_rosea_cass_Uuid);
|
47
|
assertEquals(getContext().prepareTitle("Crepis purpurea"), p.getTitle());
|
48
|
}
|
49
|
|
50
|
|
51
|
}
|