Project

General

Profile

« Previous | Next » 

Revision f8d5d6d9

Added by Andreas Kohlbecker almost 5 years ago

ref #7975 relationship footnotes moved to relationship sign/label

View differences:

src/test/java/eu/etaxonomy/dataportal/selenium/tests/reference/NamePageRedirectTest.java
12 12
import java.util.UUID;
13 13

  
14 14
import org.junit.Before;
15
import org.junit.Ignore;
16 15
import org.junit.Test;
17 16

  
18 17
import com.thoughtworks.selenium.webdriven.commands.WaitForPageToLoad;
......
47 46
     * related to https://dev.e-taxonomy.eu/redmine/issues/8304
48 47
     */
49 48
    @Test
50
    @Ignore
51 49
    public void testNoRedirect() throws MalformedURLException {
52 50

  
53 51
        GenericPortalPage p = new GenericPortalPage(driver, getContext(), "name/" + name_achilllea_santolina_uuid.toString() + "/null/null");
......
80 78
        GenericPortalPage p = new GenericPortalPage(driver, getContext(), "name/" + name_achilllea_santolina_uuid.toString() + "/null/null/redirect_to_taxon");
81 79
        wait.apply(driver, new String[] {timeout});
82 80
        wait.apply(driver, new String[] {timeout});
83
        logger.debug(p.getDrupalPagePath());
81
        logger.debug("DrupalPagePath: " + p.getDrupalPagePath());
84 82
        assertTrue(
85 83
                "The target page should be a taxon page, the name page must have been redirected to the according taxon page.",
86 84
                p.getDrupalPagePath().startsWith("cdm_dataportal/taxon/" + taxon_achilllea_santolina_uuid.toString()));
87 85

  
88 86
        p = new GenericPortalPage(driver, getContext(), "name/" + name_achilllea_santolina_uuid.toString() + "///redirect_to_taxon");
89 87
        wait.apply(driver, new String[] {timeout});
88
        logger.debug("DrupalPagePath: " + p.getDrupalPagePath());
90 89
        assertTrue(
91 90
                "The target page should be a taxon page, the name page must have been redirected to the according taxon page.",
92 91
                p.getDrupalPagePath().startsWith("cdm_dataportal/taxon/" + taxon_achilllea_santolina_uuid.toString()));

Also available in: Unified diff