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

In-place edit of the question name in the qbank view

    XMLWordPrintable

Details

    • MOODLE_401_STABLE
    • MOODLE_401_STABLE
    • MDL-74035-master
    • Hide

      Pre-test environment setup:

      Standup a moodle site using the code.

      Test scenario 1:

      • Log in as a site admin
      • Create a course
      • Navigate to course > question bank
      • Create some questions
      • Confirm:
        • That the pencil icon to edit the question is available
      • Click the pencil icon
      • Change the title of the question
      • Press enter
      • Confirm:
        • That the title is changed according to the typed one
      • Refresh the page
      • Confirm:
        • That the changed title is retained

       

      Test scenario 2:

      • Log in as a site admin
      • Create a course
      • Create a new user
      • Set the following permission to the 'Teacher' role:
        • Capability: moodle/question:editall
        • Permission: Prevent
      • Navigate to course > question bank
      • Enroll the created user as a Teacher in the course
      • Create some questions
      • Confirm:
        • That the pencil icon to edit the question is not available

       

      Show
      Pre-test environment setup: Standup a moodle site using the code. Test scenario 1: Log in as a site admin Create a course Navigate to course > question bank Create some questions Confirm: That the pencil icon to edit the question is available Click the pencil icon Change the title of the question Press enter Confirm: That the title is changed according to the typed one Refresh the page Confirm: That the changed title is retained   Test scenario 2: Log in as a site admin Create a course Create a new user Set the following permission to the 'Teacher' role: Capability: moodle/question:editall Permission: Prevent Navigate to course > question bank Enroll the created user as a Teacher in the course Create some questions Confirm: That the pencil icon to edit the question is not available  

    Description

      Details and screenshots TBA (using the pencil like core)

      Attachments

        1. in_place_editing.png
          in_place_editing.png
          18 kB
        2. long-names-problem.png
          long-names-problem.png
          24 kB
        3. scenario_1_MDL-74035.mp4
          1.02 MB
        4. scenario_2_MDL-74035.png
          scenario_2_MDL-74035.png
          96 kB

        Issue Links

          Activity

            People

              safatshahin Safat Shahin
              safatshahin Safat Shahin
              Tim Hunt Tim Hunt
              Andrew Lyons Andrew Lyons
              John Edward Pedregosa John Edward Pedregosa
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                28/Nov/22

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 6 hours, 17 minutes
                  1d 6h 17m