Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-25637

PDFExportIT#exportWithoutPagedPolyfill is flickering

    XMLWordPrintable

Details

    • Unknown
    • org.xwiki.export.pdf.test.ui.AllIT$NestedPDFExportIT#exportWithoutPagedPolyfill

    Description

      PDFExportIT#exportWithoutPagedPolyfill fails intermittently: the PDF export does not finish (the browser is not redirected to the generated PDF) within the 60s wait of PDFExportOptionsModal#export().

      Seen on https://ci.xwiki.org/job/XWiki%20Environment%20Tests/job/xwiki-platform/job/stable-18.4.x/174/ (revision 132d513d527), in the "MySQL latest, Tomcat 11-jdk25, Filesystem, Chrome" environment only. The same test passed in the 3 other environments of that build (MariaDB/Jetty 12/Firefox, PostgreSQL/Tomcat 11/Chrome, Oracle/Jetty 12/Firefox), where it takes about 6s. It failed in 1 of the last 5 builds of the job, and it passes on master and stable-18.9.x.

      org.openqa.selenium.TimeoutException:
      Expected condition failed: waiting for org.xwiki.export.pdf.test.po.PDFExportOptionsModal$$Lambda/0x00007f6f6cdff6c8@6fb95660
      (tried for 60 seconds with 500 milliseconds interval)
      	at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:85)
      	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:234)
      	at org.xwiki.export.pdf.test.po.PDFExportOptionsModal.export(PDFExportOptionsModal.java:167)
      	at org.xwiki.export.pdf.test.ui.PDFExportIT.export(PDFExportIT.java:1822)
      	at org.xwiki.export.pdf.test.ui.PDFExportIT.exportWithoutPagedPolyfill(PDFExportIT.java:991)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            mleduc Manuel Leduc
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: