Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-65069

As a user, I want to create a new discussion without changing page, so that I can create a discussion quickly and easily.

XMLWordPrintable

    • MOODLE_37_STABLE
    • MOODLE_37_STABLE
    • MDL-65069-master
    • Hide

      Behat tests provided.

      Prerequisites: 

      1. A course with a forum activity with optional subscription
      2. A student enrolled in the course.

      Testing Instructions:

      Case 1: Add discussion in-page, User forum auto-subscribe on.

      1. Log in as a student
      2. Go to your Forum preferences page under user preferences.
      3. Make sure "Forum auto-subscribe" is set to Yes.
      4. Go to the forum activity created.
      5. Confirm you can see the 'Add discussion' button.
      6. Confirm when you click it, a form appears below it with Subject and Message input field
      7. Fill in the form and click on the submit button.
      8. Confirm the page reloads and the newly entered discussion is displayed in the list
      9. Confirm that you are subscribed to the discussion.

      Case 2: Add discussion starting with in-page and then moving to advanced.

      1. Create another discussion.
      2. Fill out the Subject and Message fields.
      3. Click on "Advanced".
      4. Confirm that you are redirected to the old post form.
      5. Confirm the subject and message content is populated with the contents from #2
      6. Confirm that "Discussion subscription" is ticked.
      7. Submit the form and confirm the page reloads and the newly entered discussion is displayed in the list.
      8. Confirm that you are subscribed to the discussion.

      Case 3: Add discussion in-page, User forum auto-subscribe off.

      1. Go to your Forum preferences page under user preferences.
      2. Set "Forum auto-subscribe" is to No.
      3. Go to the forum activity.
      4. Click "Add discussion"
      5. Fill in the form and click on the submit button.
      6. Confirm the page reloads and the newly entered discussion is displayed in the list
      7. Confirm that you are NOT subscribed to the discussion.

      Case 3: Add discussion starting with in-page and then moving to advanced, User forum auto-subscribe off.

      1. Create another discussion.
      2. Fill out the Subject and Message fields.
      3. Click on "Advanced".
      4. Confirm that you are redirected to the old post form.
      5. Confirm the subject and message content is populated with the contents from #2
      6. Confirm that "Discussion subscription" is NOT ticked.
      7. Submit the form and confirm the page reloads and the newly entered discussion is displayed in the list.
      8. Confirm that you are NOT subscribed to the discussion.
      Show
      Behat tests provided. Prerequisites:  A course with a forum activity with optional subscription A student enrolled in the course. Testing Instructions: Case 1: Add discussion in-page, User forum auto-subscribe on. Log in as a student Go to your Forum preferences page under user preferences. Make sure " Forum auto-subscribe " is set to Yes. Go to the forum activity created. Confirm you can see the 'Add discussion' button. Confirm when you click it, a form appears below it with Subject and Message input field Fill in the form and click on the submit button. Confirm the page reloads and the newly entered discussion is displayed in the list Confirm that you are subscribed to the discussion. Case 2: Add discussion starting with in-page and then moving to advanced. Create another discussion. Fill out the Subject and Message fields. Click on " Advanced ". Confirm that you are redirected to the old post form. Confirm the subject and message content is populated with the contents from #2 Confirm that " Discussion subscription " is ticked. Submit the form and confirm the page reloads and the newly entered discussion is displayed in the list. Confirm that you are subscribed to the discussion. Case 3: Add discussion in-page, User forum auto-subscribe off. Go to your Forum preferences page under user preferences. Set " Forum auto-subscribe " is to No. Go to the forum activity. Click " Add discussion " Fill in the form and click on the submit button. Confirm the page reloads and the newly entered discussion is displayed in the list Confirm that you are NOT subscribed to the discussion. Case 3: Add discussion starting with in-page and then moving to advanced, User forum auto-subscribe off. Create another discussion. Fill out the Subject and Message fields. Click on " Advanced ". Confirm that you are redirected to the old post form. Confirm the subject and message content is populated with the contents from #2 Confirm that " Discussion subscription " is NOT ticked. Submit the form and confirm the page reloads and the newly entered discussion is displayed in the list. Confirm that you are NOT subscribed to the discussion.

      Acceptance criteria

      1. It is possible to create a new discussion from the “Create new discussion” button.
      2. It is possible to include a file attachment when creating a new discussion in this fashion.
      3. If I need to write a more detailed post, I can open the “Advanced” editor.
      4. When opening the “Advanced” editor, any content I have written is carried over.

        1. comparison.png
          comparison.png
          196 kB
        2. Confirmed fixed.png
          Confirmed fixed.png
          576 kB
        3. local_request_perf.png
          local_request_perf.png
          185 kB
        4. view_discussion_perf.png
          view_discussion_perf.png
          71 kB

            peterdias Peter Dias
            ryanwyllie Ryan Wyllie
            Mathew May Mathew May
            Jun Pataleta Jun Pataleta
            Gladys Basiana Gladys Basiana
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 5 hours, 36 minutes
                2d 5h 36m

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