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

Update behat_permissions to act as data generators

    XMLWordPrintable

Details

    • Improvement
    • Status: Development in progress
    • Major
    • Resolution: Unresolved
    • 3.9.4, 3.10.1
    • None
    • None

    Description

      Currently our steps for the following are all performed via the UI:

      • I set the following system permissios of "rolename" role:
      • I override the system permissionsn of "rolename" role with:
      • I define the allowed role assignments for the "rolename" role as:
      • I fill in the allowed role assignments form for the "rolename" role with:

      These steps were mostly created in MDL-37958 but I believe that this is the wrong approach.

      These steps should be treated as data generators, or possibly even converted to first-class data generators and actually deprecated.

      These steps themselves should not be required to use the UI, or log in as an administrator, etc. because they are all setup steps. The only time that this is not the case is when we are actively testing the pages which back these settings, in which case we should be using standard steps.

      Attachments

        Issue Links

          Activity

            People

              lameze Simey Lameze
              dobedobedoh Andrew Lyons
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours, 1 minute
                  2h 1m