Moodle QA
  1. Moodle QA
  2. MDLQA-1190 Moodle 2.2 QA
  3. MDLQA-1300

CLONE - There is a choice of formats for editing a wiki page

    Details

    • Type: Functional Test Functional Test
    • Status: Passed
    • Affects Version/s: Moodle 2.2
    • Fix Version/s: Moodle 2.2
    • Component/s: Student, Wiki
    • Labels:
      None

      Description

      This test requires a wiki activity in which the format is not forced.

      1. Login as a student and access the wiki activity.
      2. Edit a page in HTML format, using several icons in the HTML editor.
      3. Save the page and check everything is displayed correctly.
      4. Edit the page again and type [[Page 2]] to create a new page.
      5. Save the page then follow the Page 2 link.
      6. Select creole format then click the 'Create page' button.
      7. Edit the page using several buttons in the edit toolbar.
      8. Save the page and check everything is displayed correctly.

        Issue Links

          Activity

          Hide
          Nicolas Martignoni added a comment -

          There's a problem with the HTML editor here. Using the icons of the editor, I insert some text and lists. After displaying the HTML code (using the HTML button), here's the code that was input:

          <p>Some text</p>
          <ol>
          <li>Bli</li>
          <li>Bla</li>
          <ul>
          <li>Ha</li>
          <li>Ho</li>
          </ul>
          <li>Blu</li>
          </ol>
          <p>More text.</p>

          After saving, the code is wrongly interpreted and saved as

          <p>Some text</p>
          <ol>
          <li>Bli</li>
          <li>Bla</li>
          </ol>
          <ul>
          <li>Ha</li>
          <li>Ho</li>
          </ul>
          <p>Blu</p>
          <p>More text.</p>

          Show
          Nicolas Martignoni added a comment - There's a problem with the HTML editor here. Using the icons of the editor, I insert some text and lists. After displaying the HTML code (using the HTML button), here's the code that was input: <p>Some text</p> <ol> <li>Bli</li> <li>Bla</li> <ul> <li>Ha</li> <li>Ho</li> </ul> <li>Blu</li> </ol> <p>More text.</p> After saving, the code is wrongly interpreted and saved as <p>Some text</p> <ol> <li>Bli</li> <li>Bla</li> </ol> <ul> <li>Ha</li> <li>Ho</li> </ul> <p>Blu</p> <p>More text.</p>
          Hide
          Nicolas Martignoni added a comment - - edited

          Maybe it's a HTML editor bug and not related to this test. Marking as failed though.

          Show
          Nicolas Martignoni added a comment - - edited Maybe it's a HTML editor bug and not related to this test. Marking as failed though.
          Hide
          Helen Foster added a comment -

          Nicolas, thanks for your feedback. I've just tried adding the code to a forum post then saving it and obtained the same result as you. Thus it's an HTML editor bug. If you have chance, please create a MDL issue for it. In the meantime I'll just reset this test. I assume it can then be passed?

          Show
          Helen Foster added a comment - Nicolas, thanks for your feedback. I've just tried adding the code to a forum post then saving it and obtained the same result as you. Thus it's an HTML editor bug. If you have chance, please create a MDL issue for it. In the meantime I'll just reset this test. I assume it can then be passed?
          Hide
          Nicolas Martignoni added a comment -

          Will test tomorrow. It's à bit late now

          Show
          Nicolas Martignoni added a comment - Will test tomorrow. It's à bit late now
          Hide
          Michael de Raadt added a comment -

          Hi, Nicolas.

          We're trying to clean up the last of the QA tests. Sorry to assign that one away from you.

          Thanks for your work in testing.

          Show
          Michael de Raadt added a comment - Hi, Nicolas. We're trying to clean up the last of the QA tests. Sorry to assign that one away from you. Thanks for your work in testing.
          Hide
          Michael de Raadt added a comment -

          I've had a look at what's going on here. There are a couple of issues that I will report as bugs. The wiki is modifying the HTML source provided, but this does not stop you from creating pages and choosing the page format (when settings allow this).

          Passing this test.

          Show
          Michael de Raadt added a comment - I've had a look at what's going on here. There are a couple of issues that I will report as bugs. The wiki is modifying the HTML source provided, but this does not stop you from creating pages and choosing the page format (when settings allow this). Passing this test.

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: