Project

General

Profile

« Previous | Next » 

Revision 04434a55

Added by Andreas Kohlbecker almost 3 years ago

test independent from clean_url setting

View differences:

src/test/java/eu/etaxonomy/dataportal/selenium/tests/reference/FootnoteTest.java
118 118
                        footnote5.getText());
119 119
        List<LinkElement> linksInFootnote5 = footnote5.getLinksInElement();
120 120
        assertEquals(2, linksInFootnote5.size());
121
        assertTrue(linksInFootnote5.get(0).getUrl().endsWith("/cdm_dataportal/reference/f2e43411-2564-42c7-816e-7e6046adbefa"));
121
        assertTrue(linksInFootnote5.get(0).getUrl().endsWith("cdm_dataportal/reference/f2e43411-2564-42c7-816e-7e6046adbefa"));
122 122
        assertEquals("", linksInFootnote5.get(0).getText());
123 123
        assertEquals("http://testbank.org/100004", linksInFootnote5.get(1).getText());
124 124
        assertTrue("unexpected url in footnote: " + linksInFootnote5.get(1).getUrl(), linksInFootnote5.get(1).getUrl().endsWith("cdm_dataportal/registration?identifier=http%3A//testbank.org/100004"));

Also available in: Unified diff