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

Steps definitions for capabilities management

    XMLWordPrintable

Details

    • MOODLE_25_STABLE
    • MOODLE_25_STABLE
    • MDL-37958_master
    • 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:

    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

              dmonllao David Monllaó
              dmonllao David Monllaó
              Frédéric Massart Frédéric Massart
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                14/May/13