Project

General

Profile

« Previous | Next » 

Revision 7e1f5d18

Added by Andreas Kohlbecker over 5 years ago

fix #7742 unsubscribing other beans from event bus on dispose()

View differences:

src/test/java/eu/etaxonomy/dataportal/selenium/tests/reference/MisappliedNamesTest.java
21 21
import eu.etaxonomy.dataportal.ElementUtils;
22 22
import eu.etaxonomy.dataportal.StringConstants;
23 23
import eu.etaxonomy.dataportal.elements.BaseElement;
24
import eu.etaxonomy.dataportal.elements.LinkElement;
24 25
import eu.etaxonomy.dataportal.junit.CdmDataPortalTestBase;
25 26
import eu.etaxonomy.dataportal.junit.DataPortalContextSuite.DataPortalContexts;
26 27
import eu.etaxonomy.dataportal.pages.TaxonSynonymyPage;
......
112 113

  
113 114
    }
114 115

  
116
    /**
117
     * https://dev.e-taxonomy.eu/redmine/issues/7778
118
     *
119
     * @throws MalformedURLException
120
     */
121
    @Test
122
    @Ignore
123
    public void tesIssue7778() throws MalformedURLException {
124

  
125
        TaxonSynonymyPage p = new TaxonSynonymyPage(driver, getContext(), miconia_cubacinerea_Uuid);
126

  
127
        List<BaseElement> footnotes = ElementUtils.findFootNotes(p.getTaxonRelationships());
128
        BaseElement footNote = footnotes.get(0);
129
        assertEquals("1. A&S, Plantas vasculares de Oz", footNote.getText());
130
        List<LinkElement> links = footNote.getLinksInElement();
131
        assertEquals(1, links.size());
132
        assertEquals("http://onlinelibrary.wiley.com/doi/10.1111/j.1756-1051.2999.00012.x/full", links.get(0).getUrl());
133

  
134
    }
135

  
115 136

  
116 137
    /**
117 138
     * https://dev.e-taxonomy.eu/redmine/issues/5492
......
129 150
        assertNotNull(misappliedName2);
130 151
        assertEquals("–\n\"Oncidium guttatum\" auct. sensu Greuter, W. & Rankin Rodríguez, R1", misappliedName2.getText());
131 152

  
132

  
133

  
134 153
        List<BaseElement> footnotes = ElementUtils.findFootNotes(p.getTaxonRelationships());
135 154
        assertEquals(1, footnotes.size());
136 155
        assertEquals("1. Greuter, W. & Rankin Rodríguez, R, Plantas vasculares de Cuba: inventario preliminar. Tercera edición, actualizada. Vascular plants of Cuba: a preliminary checklist. Third updated edition.", footnotes.get(0).getText());

Also available in: Unified diff