Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-14813 Moodle 3.10 QA
  3. MDLQA-15408

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

    XMLWordPrintable

    Details

    • Type: Functional Test
    • Status: Passed
    • Priority: Minor
    • Affects Version/s: Moodle 3.10
    • Fix Version/s: Moodle 3.10
    • Component/s: HTML Editor, User
    • Labels:
      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. 21-persian-chrome.png
          18 kB
          Shamim Rezaie
        2. 21-persian-ff.png
          22 kB
          Shamim Rezaie
        3. 22-persian-chrome-left-aligned.png
          18 kB
          Shamim Rezaie
        4. 23-persian-ff-left-aligned.png
          20 kB
          Shamim Rezaie
        5. 24-persian-chrome-left-aligned-posted.png
          28 kB
          Shamim Rezaie
        6. 25-persian-ff-left-aligned-posted.png
          17 kB
          Shamim Rezaie
        7. chrome-ltr.png
          24 kB
          Shamim Rezaie
        8. chrome-rtl.png
          23 kB
          Shamim Rezaie
        9. classic-chrome-persian.png
          21 kB
          Shamim Rezaie
        10. english-chrome.png
          39 kB
          Shamim Rezaie
        11. english-chrome-right-aligned.png
          22 kB
          Shamim Rezaie
        12. english-chrome-right-aligned-posted.png
          32 kB
          Shamim Rezaie
        13. english-chrome-rtl.png
          30 kB
          Shamim Rezaie
        14. english-chrome-rtl-posted.png
          15 kB
          Shamim Rezaie
        15. english-firefox.png
          40 kB
          Shamim Rezaie
        16. english-firefox-right-aligned.png
          23 kB
          Shamim Rezaie
        17. english-firefox-right-aligned-posted.png
          29 kB
          Shamim Rezaie
        18. english-firefox-rtl.png
          18 kB
          Shamim Rezaie
        19. english-firefox-rtl-posted.png
          10 kB
          Shamim Rezaie
        20. ff-ltr.png
          23 kB
          Shamim Rezaie
        21. ff-rtl.png
          23 kB
          Shamim Rezaie
        22. persian-chrome-classic.png
          37 kB
          Shamim Rezaie
        23. persian-chrome-classic-ltr.png
          28 kB
          Shamim Rezaie
        24. persian-chrome-classic-rtl.png
          30 kB
          Shamim Rezaie
        25. persian-chrome-ltr.png
          25 kB
          Shamim Rezaie
        26. persian-chrome-rtl.png
          18 kB
          Shamim Rezaie
        27. persian-classic.png
          23 kB
          Shamim Rezaie
        28. persian-ff-classic-ltr.png
          26 kB
          Shamim Rezaie
        29. persian-ff-classic-rtl.png
          54 kB
          Shamim Rezaie
        30. persian-ff-ltr.png
          25 kB
          Shamim Rezaie
        31. persian-ff-rtl.png
          25 kB
          Shamim Rezaie

          Issue Links

            Activity

              People

              Assignee:
              rezaie9 Shamim Rezaie
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: