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

Write Behat tests for Tiny editor

XMLWordPrintable

    • Team Omega 4.1 Sprint 0.5, Team Omega radar

      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.

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

            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

              Created:
              Updated:
              Resolved:

                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

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