Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-14101

Replace Showcase tests for a4j:status

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.5.7
    • Fix Version/s: 4.5.9
    • Labels:
      None
    • Environment:

      phantomjs/firefox/chrome
      WildFly 8.2/9.0 & Tomcat

      Description

      Tests for a4j:status have been unstable for quite a while and not only on Jenkins but even when executing them locally.

      It would be worth taking a look into it and re-writing them. The main trouble here is that when ajax request is active, a4j:status is rendering a .gif picture on the page. This action is very short and WebDriver is way too slow to notice the picture already appeared. Furthermore there is no way to first set up a guard and then invoke a request.

      This likely means that JS tests would be more effecient, one way to do that is with Mutation Observers.

      Test classes in question are:

      • ITestReferencedUsage
      • ITestViewUsage
      • ITestSimple (in showcase.status package)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  manovotn Matěj Novotný
                  Reporter:
                  manovotn Matěj Novotný
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: