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. persian-ff-rtl.png
          persian-ff-rtl.png
          25 kB
        2. persian-ff-ltr.png
          persian-ff-ltr.png
          25 kB
        3. persian-ff-classic-rtl.png
          persian-ff-classic-rtl.png
          54 kB
        4. persian-ff-classic-ltr.png
          persian-ff-classic-ltr.png
          26 kB
        5. persian-classic.png
          persian-classic.png
          23 kB
        6. persian-chrome-rtl.png
          persian-chrome-rtl.png
          18 kB
        7. persian-chrome-ltr.png
          persian-chrome-ltr.png
          25 kB
        8. persian-chrome-classic-rtl.png
          persian-chrome-classic-rtl.png
          30 kB
        9. persian-chrome-classic-ltr.png
          persian-chrome-classic-ltr.png
          28 kB
        10. persian-chrome-classic.png
          persian-chrome-classic.png
          37 kB
        11. ff-rtl.png
          ff-rtl.png
          23 kB
        12. ff-ltr.png
          ff-ltr.png
          23 kB
        13. english-firefox-rtl-posted.png
          english-firefox-rtl-posted.png
          10 kB
        14. english-firefox-rtl.png
          english-firefox-rtl.png
          18 kB
        15. english-firefox-right-aligned-posted.png
          english-firefox-right-aligned-posted.png
          29 kB
        16. english-firefox-right-aligned.png
          english-firefox-right-aligned.png
          23 kB
        17. english-firefox.png
          english-firefox.png
          40 kB
        18. english-chrome-rtl-posted.png
          english-chrome-rtl-posted.png
          15 kB
        19. english-chrome-rtl.png
          english-chrome-rtl.png
          30 kB
        20. english-chrome-right-aligned-posted.png
          english-chrome-right-aligned-posted.png
          32 kB
        21. english-chrome-right-aligned.png
          english-chrome-right-aligned.png
          22 kB
        22. english-chrome.png
          english-chrome.png
          39 kB
        23. classic-chrome-persian.png
          classic-chrome-persian.png
          21 kB
        24. chrome-rtl.png
          chrome-rtl.png
          23 kB
        25. chrome-ltr.png
          chrome-ltr.png
          24 kB
        26. 25-persian-ff-left-aligned-posted.png
          25-persian-ff-left-aligned-posted.png
          17 kB
        27. 24-persian-chrome-left-aligned-posted.png
          24-persian-chrome-left-aligned-posted.png
          28 kB
        28. 23-persian-ff-left-aligned.png
          23-persian-ff-left-aligned.png
          20 kB
        29. 22-persian-chrome-left-aligned.png
          22-persian-chrome-left-aligned.png
          18 kB
        30. 21-persian-ff.png
          21-persian-ff.png
          22 kB
        31. 21-persian-chrome.png
          21-persian-chrome.png
          18 kB

          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: