Tapestry
  1. Tapestry
  2. TAPESTRY-1157

Client side validation popup "OK" button needs ID for automated testing

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 4.1.1
    • Fix Version/s: 4.1.1
    • Component/s: JavaScript
    • Labels:
      None
    • Environment:
      IE 5, 6, 7, FF

      Description

      The dynamically created "OK" button in the AlertDialog widget could use an ID. That would make automated testing of client-side validation (especially custom validation using my hack to add additional conditions to the Dojo validation profile object) possible.

      Currently, no testing tools can record OK button clicks, or validate it's existence, because it has no ID. Coordinate clicking or keyboard macros are needed instead, which are way too fragile.

      A small thing, but it would be helpful.

        Activity

        Hide
        Jesse Kuhnert added a comment -

        Now has id attribute of "alertButton" .

        Show
        Jesse Kuhnert added a comment - Now has id attribute of "alertButton" .

          People

          • Assignee:
            Unassigned
            Reporter:
            Greg Woolsey
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development