Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-16759 Moodle 4.1 QA
  3. MDLQA-17254

CLONE - A user can set the text direction in the Atto text editor

    XMLWordPrintable

Details

    • Functional Test
    • Minor
    • Moodle 4.1
    • Moodle 4.1
    • HTML Editor, User
    • None

    Description

      Test requirements:

      • A site with at least one right to left (RTL) language e.g. Hebrew or Arabic and at least one left to right (LTR) language e.g. English installed
      • The RTL/LTR buttons added to the Atto toolbar (in Site administration > Plugins > Text editors > Atto HTML editor > Atto toolbar settings)
      • A student account enrolled in a course with a forum.

      Please test using both themes, Boost and Classic, and in more than one browser, and mention in a comment which browsers you've used.

      The more supported browsers we can test with, the better, so anyone feel free to try this test even if you're not the assignee!

      1. Starting with the UI in a LTR language, log in as a student and go to the forum.
      2. Start a discussion, and before you input anything, switch to HTML view.
      3. Check that the initial direction and alignment of the paragraph HTML element is <p dir="ltr" style="text-align: left;"></p>.
      4. Switch back to normal view and type some text. Use the Atto buttons 'Left align' and 'Right align' and check that the alignment is correctly changed.
      5. Submit the post and check that the alignment is kept.
      6. Start a new discussion and this time test the Atto buttons 'Left to right' and 'Right to left'.
      7. Check that the direction is correctly changed and is kept when submitting the post.
      8. Try a mix of LTR and RTL language text like: הפסקה מתחילה בעברית and change into English אך מסתיימת ב باللغة العربية.
      9. Check that clicking the LTR button makes the English sentence look good (readable) and clicking the RTL button makes the Hebrew and Arabic sentence look good (readable).
      10. Change the UI language to a RTL language.
      11. Repeat steps 2 to 9, this time checking that the initial direction and alignment of the paragraph HTML element is <p dir="rtl" style="text-align: right;"></p>.

      Notes:

      • Keep switching back and forth between HTML view and Normal view before submitting your test post to the forum to check that the underlying HTML code is not messy.
      • Make sure you always start with a new forum post, as the ATTO auto save feature keeps old drafts, which can confuse the initial test environment.

      Attachments

        1. (I) 3 Passed -- MDLQA-17254(Boost).png
          270 kB
          Kim Jared Lucas
        2. (I) 3 Passed -- MDLQA-17254(Classic).png
          305 kB
          Kim Jared Lucas
        3. (I) 3 Passed -- MDLQA-17254(RTL-Boost).png
          264 kB
          Kim Jared Lucas
        4. (I) 3 Passed -- MDLQA-17254(RTL-Classic).png
          282 kB
          Kim Jared Lucas
        5. (I) 4 Passed -- MDLQA-17254(RTL-Classic).png
          88 kB
          Kim Jared Lucas
        6. (I) 5 Passed -- MDLQA-17254(Boost).png
          43 kB
          Kim Jared Lucas
        7. (I) 5 Passed -- MDLQA-17254(Classic).png
          101 kB
          Kim Jared Lucas
        8. (I) 5 Passed -- MDLQA-17254(RTL-Boost).png
          37 kB
          Kim Jared Lucas
        9. (I) 6,7 Passed -- MDLQA-17254(Classic).mp4
          1.14 MB
          Kim Jared Lucas
        10. (I) 6,7 Passed -- MDLQA-17254(RTL-Boost).mp4
          1.91 MB
          Kim Jared Lucas
        11. (I) 6 Passed -- MDLQA-17254(Boost).mp4
          423 kB
          Kim Jared Lucas
        12. (I) 7 Passed -- MDLQA-17254(Boost).png
          52 kB
          Kim Jared Lucas
        13. (I) 7 Passed -- MDLQA-17254(RTL-Classic).mp4
          1.97 MB
          Kim Jared Lucas
        14. (I) 9 Passed -- MDLQA-17254(Boost).mp4
          2.20 MB
          Kim Jared Lucas
        15. (I) 9 Passed -- MDLQA-17254(Classic).mp4
          3.35 MB
          Kim Jared Lucas
        16. (I) 9 Passed -- MDLQA-17254(RTL-Boost).mp4
          2.83 MB
          Kim Jared Lucas
        17. (I) 9 Passed -- MDLQA-17254(RTL-Classic).mp4
          3.69 MB
          Kim Jared Lucas
        18. Keep switching back and forth between HTML view and Normal view before submitting your test post to the forum to check that the underlying HTML code is not messy.mp4
          6.97 MB
          Kim Jared Lucas

        Issue Links

          Activity

            People

              kimjared2121 Kim Jared Lucas
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: