Uploaded image for project: 'HAL'
  1. HAL
  2. HAL-301

Proper use of IDs and classes to enable better testability

    XMLWordPrintable

    Details

      Description

      jcechace: hpehl, basically right now I rely on xpath expressions when I want to select an element in selenium tests. Which you can imagine is not the most reliable thing
      jcechace: hpehl, but the main premise is that every element important for user-app interaction should have id / class. One example - currently it is quite hard to select a table containing the list of resources and it's pager. Simply because those tables have class "default-cell-table" (there is usually like 4 of them).
      jcechace: hpehl, not saying i can't select it, just that even a minor change in layout would break that selection

        Attachments

          Activity

            People

            Assignee:
            rhn-support-hbraun Heiko Braun
            Reporter:
            hpehl@redhat.com Harald Pehl
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: