Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-12350

Failure to assert a LiveTable cell using hasRow() when the cell has HTML content

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.4
    • Fix Version/s: 7.2-milestone-2
    • Component/s: Test Framework
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      For example when you have:

      #set($columns = ["avatar", "id", "email", "name", "company"])
      #set($columnsProperties = {
         "avatar" : { "type" : "none", "link" : "none", "html" : "true", "sortable":false },
         "id" : { "type" : "text" , "size" : 20, "link" : "view"},
         "email" : { "type" : "text", "html" : "true" },
         "name" : { "type" : "text" },
         "company" : { "type" : "text" }
      })
      

      If you try hasRow() on the "email" row which is of type HTML then it fails.

        Attachments

          Activity

            People

            • Assignee:
              vmassol Vincent Massol
              Reporter:
              vmassol Vincent Massol
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: