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

Steps definitions for capabilities management

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      I've added behat tests to test the new steps definitions and I've also migrated a MDLQA to a .feature file using this steps, the tests will run on the nightly machine

      As an extra, you can create a new feature using the new steps (see admin/tool/behat/tests/behat/edit_permissions.feature)

      • I set the following system permissions of "rolefullname_string" role:
      • I override the system permissions of "rolefullname_string" role with:
      • I fill the capabilities form with the following permissions:
      Show
      I've added behat tests to test the new steps definitions and I've also migrated a MDLQA to a .feature file using this steps, the tests will run on the nightly machine As an extra, you can create a new feature using the new steps (see admin/tool/behat/tests/behat/edit_permissions.feature) I set the following system permissions of "rolefullname_string" role: I override the system permissions of "rolefullname_string" role with: I fill the capabilities form with the following permissions:
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-37958_master

      Description

      There will be lots of tests which will require to change capabilities at different levels and it requires around 5/6 steps, new definitions would allow to write tests with And I "Allow" "moodle/asd:asd"

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dmonllao David Monllaó
              Reporter:
              dmonllao David Monllaó
              Peer reviewer:
              Frédéric Massart Frédéric Massart
              Integrator:
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Participants:
              Component watchers:
              Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                14/May/13