Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-25421

PlatformUI RichText HTML enrichment for BDD tests

    Details

      Description

      In order to ease and improve the BDD tests on PlatformUI there should be appropriate HTML tags/class attributes. These tags should help identify the various elements present in the page in a logic and meaningful way.

      In this case we could use is identifiers for everything related to RichText.
      For example the big round add button even though it as a class 'ae-button-add' it would still be better to have a unique BDD related identifier. The most important one would be the other buttons from alloy editor since most of them only have a 'ae-button' class and we have to resort to other attributes such as the element title.
      IMO instead of a class we could have sort of a attribute in the elements only for the BDD tests maybe it would not pollute the class attribute, but I leave that to your criteria.

        Activity

        Miguel das Neves Jacinto (Inactive) created issue -
        Paulo Nunes (Inactive) made changes -
        Field Original Value New Value
        Priority Low [ 5 ] Medium [ 4 ]
        Paulo Nunes (Inactive) made changes -
        Fix Version/s QA tracked issues [ 11072 ]
        Paulo Nunes (Inactive) made changes -
        Labels QA
        Miguel das Neves Jacinto (Inactive) made changes -
        Status Open [ 1 ] Confirmed [ 10037 ]
        Hide
        Damien Pobel (Inactive) added a comment - - edited

        As requested in the daily, please be specific on what you need to identify. This kind of improvement is the best to have nothing in the end.

        Show
        Damien Pobel (Inactive) added a comment - - edited As requested in the daily, please be specific on what you need to identify. This kind of improvement is the best to have nothing in the end.
        Miguel das Neves Jacinto (Inactive) made changes -
        Summary PlatformUI HTML enrichment for BDD tests PlatformUI RichText HTML enrichment for BDD tests
        Miguel das Neves Jacinto (Inactive) made changes -
        Description In order to ease and improve the BDD tests on PlatformUI there should be appropriate HTML tags/class attributes. These tags should help identify the various elements present in the page in a logic and meaningful way. In order to ease and improve the BDD tests on PlatformUI there should be appropriate HTML tags/class attributes. These tags should help identify the various elements present in the page in a logic and meaningful way.

        In this case we could use is identifiers for everything related to RichText.
        For example the big round add button even though it as a class 'ae-button-add' it would still be better to have a unique BDD related identifier. The most important one would be the other buttons from alloy editor since most of them only have a 'ae-button' class and we have to resort to other attributes such as the element title.
        IMO instead of a class we could have sort of a attribute in the elements only for the BDD tests maybe it would not pollute the class attribute, but I leave that to your criteria.
        Hide
        Miguel das Neves Jacinto (Inactive) added a comment -

        Damien Pobel changed this Issue for be specific only to RichText, updated the title and description.

        Show
        Miguel das Neves Jacinto (Inactive) added a comment - Damien Pobel changed this Issue for be specific only to RichText, updated the title and description.
        Alex Schuster made changes -
        Workflow EZ* Development Workflow [ 97593 ] EZEE Development Workflow [ 108678 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Confirmed Confirmed
        1h 23m 1 miguel.jacinto@ez.no 29/Jan/16 11:20 AM

          People

          • Assignee:
            Unassigned
            Reporter:
            Miguel das Neves Jacinto (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated: