Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-22646

Fix ITVerifyDeleteDocumentContentTest

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9.2
    • Component/s: Seam / JSF UI, Tests

      Description

      ITVerifyDeleteDocumentContentTest.verifyDeleteDocumentContent sometimes fail with:

      Element not enabled after timeout:
      	at org.nuxeo.functionaltests.Locator.waitUntilEnabled(Locator.java:449)
      	at org.nuxeo.functionaltests.Locator$1.apply(Locator.java:115)
      	at org.nuxeo.functionaltests.Locator$1.apply(Locator.java:106)
      	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:238)
      	at org.nuxeo.functionaltests.Locator.findElementAndWaitUntilEnabled(Locator.java:124)
      	at org.nuxeo.functionaltests.Locator.findElementWaitUntilEnabledAndClick(Locator.java:322)
      	at org.nuxeo.functionaltests.Locator.findElementWaitUntilEnabledAndClick(Locator.java:148)
      	at org.nuxeo.functionaltests.pages.AbstractPage.findElementWaitUntilEnabledAndClick(AbstractPage.java:318)
      	at org.nuxeo.functionaltests.pages.tabs.TrashSubPage.restoreSelectedDocuments(TrashSubPage.java:161)
      	at org.nuxeo.functionaltests.pages.tabs.TrashSubPage.restoreDocument(TrashSubPage.java:124)
      	at org.nuxeo.ftest.cap.ITVerifyDeleteDocumentContentTest.verifyDeleteDocumentContent(ITVerifyDeleteDocumentContentTest.java:106)
      

      As selecting/deselecting a document in the trash changes the available buttons in Ajax, we must wait for them to be updated before clicking on them.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h