Uploaded image for project: '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
    • 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.

        Gliffy Diagrams

          Issue Links

            Activity

            Anonymous Anonymous created issue -
            dougiamas Martin Dougiamas made changes -
            Field Original Value New Value
            Affects Version/s Moodle 2.2 [ 10392 ]
            Affects Version/s Master copy - DO NOT REPORT TEST RESULTS HERE [ 10423 ]
            Fix Version/s Moodle 2.2 [ 10392 ]
            mina Nicolas Martignoni made changes -
            Assignee Nobody [ nobody ] Nicolas Martignoni [ mina ]
            Hide
            mina 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
            mina 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
            mina Nicolas Martignoni added a comment - - edited

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

            Show
            mina Nicolas Martignoni added a comment - - edited Maybe it's a HTML editor bug and not related to this test. Marking as failed though.
            mina Nicolas Martignoni made changes -
            Status Open [ 1 ] Failed [ 10001 ]
            Hide
            tsala 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
            tsala 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?
            tsala Helen Foster made changes -
            Status Failed [ 10001 ] Open [ 1 ]
            Assignee Nicolas Martignoni [ mina ] Nobody [ nobody ]
            mina Nicolas Martignoni made changes -
            Assignee Nobody [ nobody ] Nicolas Martignoni [ mina ]
            Hide
            mina Nicolas Martignoni added a comment -

            Will test tomorrow. It's à bit late now

            Show
            mina Nicolas Martignoni added a comment - Will test tomorrow. It's à bit late now
            salvetore Michael de Raadt made changes -
            Assignee Nicolas Martignoni [ mina ] Michael de Raadt [ salvetore ]
            Hide
            salvetore 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
            salvetore 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
            salvetore 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
            salvetore 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.
            salvetore Michael de Raadt made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Passed [ 10000 ]
            salvetore Michael de Raadt made changes -
            Link This issue testing discovered MDL-30470 [ MDL-30470 ]
            salvetore Michael de Raadt made changes -
            Link This issue testing discovered MDL-30471 [ MDL-30471 ]

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: