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

    • Icon: Functional Test Functional Test
    • Icon: Minor Minor
    • Moodle 3.10
    • Moodle 3.10
    • HTML Editor, User
    • None

      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.

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

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

              Created:
              Updated:
              Resolved:

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