Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-75982

Write Behat tests for Tiny editor

    XMLWordPrintable

Details

    • Team Omega 4.1 Sprint 0.5, Team Omega radar

    Description

      Write Behat tests to tests to the new Tiny editor been re-introduced in MDL-75071

      Discussing with Andrew, there some suggestions of what should be done as part of this issue:

      • Standard editor features is mostly covered already by the text formatting Andrew added.
      • There's a commit to add support for the Image dialogue.
      • Add support for the Video dialogue too.
      • RecordRTC can't be automated tested sadly
      • Ideally H5P plugin can be tested
      • Investigate what can be tested for the accessibility checker
      • Investigate what can be tested for the equation editor

      This set of commits adds some behat steps and testing for Tiny.

      There are some additional tests not yet included to test standard formatting functinoality of TinyMCE itself, but I'm currently experiencing some random failures with these so I'm going to defer them to a followup issue. Behat tests are allowed to land and be backported to stables regardless.

      Attachments

        1. accessbilitychecker.feature.png
          accessbilitychecker.feature.png
          189 kB
        2. autosave.feature.png
          autosave.feature.png
          175 kB
        3. equation.feature.png
          equation.feature.png
          188 kB
        4. tinyh5p.feature.png
          tinyh5p.feature.png
          202 kB
        5. tinyimage.feature.png
          tinyimage.feature.png
          188 kB
        6. tinyvideo.feature.png
          tinyvideo.feature.png
          187 kB

        Issue Links

          Activity

            People

              lameze Simey Lameze
              dobedobedoh Andrew Lyons
              Stevani Andolo Stevani Andolo
              Shamim Rezaie Shamim Rezaie
              CiBoT CiBoT
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 week, 1 day, 35 minutes
                  1w 1d 35m

                  Clockify

                    Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.