Project

General

Profile

« Previous | Next » 

Revision 06357b3f

Added by Andreas Kohlbecker about 9 years ago

changing amount of whitespace in assertion and better logging in case of click link timeouts

View differences:

7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/main/java/eu/etaxonomy/dataportal/pages/PortalPage.java
359 359
                wait.until(isTrue);
360 360
            }
361 361
        } catch (AssertionError timeout){
362
            logger.info("current WindowHandles:" + driver.getWindowHandles());
362
            logger.info("clickLink timed out. Current WindowHandles:" + driver.getWindowHandles());
363 363
            throw timeout;
364 364
        }
365 365

  
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/test/java/eu/etaxonomy/dataportal/selenium/tests/cichorieae/Lactuca_triquetra_TaxonProfileTest.java
121 121
        expectedCssDisplay = "block";
122 122
        featureClass = "distribution";
123 123
        featureLabel = "Distribution";
124
        blockTextFull = featureLabel + "\n\n\n\n\nAsia-Temperate:\nCyprus 1,2; Lebanon-Syria (Lebanon 3,4,5); Palestine (Israel 5,6).\n1. Meikle, R. D., Flora of Cyprus 2. 1985, 2. Osorio-Tafall, B. H. & Serafim, G. M., List of the vascular plants of Cyprus. 1973, 3. Mouterde, P., Nouvelle flore du Liban et de la Syrie. Texte 3. 1978-1984, 4. Boissier, E., Flora Orientalis 3. 1875, 5. Post, G. E. , Flora of Syria, Palestine, and Sinai 2. 19336. (N)";
124
        blockTextFull = featureLabel + "\n\n\n\nAsia-Temperate:\nCyprus 1,2; Lebanon-Syria (Lebanon 3,4,5); Palestine (Israel 5,6).\n1. Meikle, R. D., Flora of Cyprus 2. 1985, 2. Osorio-Tafall, B. H. & Serafim, G. M., List of the vascular plants of Cyprus. 1973, 3. Mouterde, P., Nouvelle flore du Liban et de la Syrie. Texte 3. 1978-1984, 4. Boissier, E., Flora Orientalis 3. 1875, 5. Post, G. E. , Flora of Syria, Palestine, and Sinai 2. 19336. (N)";
125 125
        p.testTableOfContentEntry(featureId++, featureLabel, featureClass);
126 126
        featureBlock = p.getFeatureBlockAt(featureId, featureClass, "div", "dt", "dd");
127 127

  

Also available in: Unified diff