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

Behat should set all the default values when installing it

    Details

    • Testing Instructions:
      Hide
      1. Update behat php admin/tool/behat/cli/init.php
      2. Login into the behat test site (same URL using $CFG->behat_switchcompletely or $CFG->behat_wwwroot) with user admin and admin as pwd
      3. Go to Notifications page
      4. You SHOULD see the notifications page
      5. You SHOULD NOT be redirected to the new settings page
      6. Navigate to Front page -> Front page setting
      7. summary setting SHOULD contain "Acceptance test site"
      Show
      Update behat php admin/tool/behat/cli/init.php Login into the behat test site (same URL using $CFG->behat_switchcompletely or $CFG->behat_wwwroot) with user admin and admin as pwd Go to Notifications page You SHOULD see the notifications page You SHOULD NOT be redirected to the new settings page Navigate to Front page -> Front page setting summary setting SHOULD contain "Acceptance test site"
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull Master Branch:
      MDL-42408_master

      Description

      Behat is using install_cli_database() + few other changes to set the default site. There is a setting, Front page summary, which is not set, and when accessing an admin page like notifications the user is redirected to the new settings page to fill it up.

      We can provide a value for it and set it when installing the site; this issue would need a change in admin/tool/behat/version.php to force users to reinstall the site

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    11/Nov/13