Tapestry 5
  1. Tapestry 5
  2. TAP5-161

Devise test stategy for DateField and other DHTML/JS intensive components

    Details

    • Type: Task Task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.15
    • Fix Version/s: 5.3
    • Component/s: None
    • Labels:
      None

      Description

      The new DateField component is difficult to test inside Selenium because Selenium doesn't track what occurs after the user clicks the trigger button. Not sure how to make that work, it may require an upgrade to a newer version of selenium.

        Activity

        Howard M. Lewis Ship created issue -
        Show
        Howard M. Lewis Ship added a comment - http://agiletesting.blogspot.com/2006/03/ajax-testing-with-selenium-using_21.html
        Hide
        Howard M. Lewis Ship added a comment -

        I believe Seleniums' waitForCondition is used to handle this situation.

        Show
        Howard M. Lewis Ship added a comment - I believe Seleniums' waitForCondition is used to handle this situation.
        Show
        Howard M. Lewis Ship added a comment - Made some progress on this: http://tapestryjava.blogspot.com/2008/08/ajax-and-selenium-waitforcondition.html
        Howard M. Lewis Ship made changes -
        Field Original Value New Value
        Affects Version/s 5.0.5 [ 12312477 ]
        Project Tapestry [ 10573 ] Tapestry 5 [ 12310833 ]
        Key TAPESTRY-1844 TAP5-161
        Howard M. Lewis Ship made changes -
        Affects Version/s 5.0.15 [ 12313429 ]
        Hide
        Massimo Lusetti added a comment -

        DateField always cause issues

        Show
        Massimo Lusetti added a comment - DateField always cause issues
        Massimo Lusetti made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Fix Version/s 5.3 [ 12316024 ]
        Resolution Won't Fix [ 2 ]
        Hide
        Robert Zeigler added a comment -

        Re-open to update fix status.

        Show
        Robert Zeigler added a comment - Re-open to update fix status.
        Robert Zeigler made changes -
        Resolution Won't Fix [ 2 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Assignee Robert Zeigler [ ongakugainochi ]
        Hide
        Robert Zeigler added a comment -

        This has largely been resolved for real. When I fixed TAP5-1408 and TAP5-1409, I wrote a couple of fairly extensive tests for the component, including making sure that the proper date is selected in the popup, selecting a date in the popup puts the proper date in the text field, etc. Any further tests will need to be written on a case-by-case basis: as a bug crops up, we add a new test.

        Show
        Robert Zeigler added a comment - This has largely been resolved for real. When I fixed TAP5-1408 and TAP5-1409 , I wrote a couple of fairly extensive tests for the component, including making sure that the proper date is selected in the popup, selecting a date in the popup puts the proper date in the text field, etc. Any further tests will need to be written on a case-by-case basis: as a bug crops up, we add a new test.
        Robert Zeigler made changes -
        Status Reopened [ 4 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Hide
        Howard M. Lewis Ship added a comment -

        Great work!

        Show
        Howard M. Lewis Ship added a comment - Great work!
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        1390d 22h 39m 1 Massimo Lusetti 11/Aug/11 23:07
        Closed Closed Reopened Reopened
        21d 20h 33m 1 Robert Zeigler 02/Sep/11 19:40
        Reopened Reopened Closed Closed
        2m 36s 1 Robert Zeigler 02/Sep/11 19:43

          People

          • Assignee:
            Robert Zeigler
            Reporter:
            Howard M. Lewis Ship
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development