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

Get rid of hardcoded references to Acceptance test site

XMLWordPrintable

    • MOODLE_25_STABLE, MOODLE_26_STABLE
    • MOODLE_25_STABLE
    • MDL-41587_master
    • Hide

      You need PHP 5.4 to run this test

      1. Install/update and enable your behat test site
      2. Start selenium
      3. Start your built-in web server if you are using it
      4. Run behat
      5. You SHOULD see successes (green points in the CLI) stop it after 1 minute or so
      6. If you was using $CFG->behat_switchcompletely = true; comment the line
      7. Stop the built-in web server if you was using it and start it in another directory like $HOME for example or /var/www
      8. Run behat
      9. You SHOULD see an exception stating something like The base URL (http://localhost:8000) is not a behat test site, ensure you started the built-in web server in the correct directory or your web server is correctly started and set up
      1. Run all behat tests (it should be running in the CI server so check http://integration.moodle.org and if it is passing there pass it)
      Show
      You need PHP 5.4 to run this test Install/update and enable your behat test site Start selenium Start your built-in web server if you are using it Run behat You SHOULD see successes (green points in the CLI) stop it after 1 minute or so If you was using $CFG->behat_switchcompletely = true; comment the line Stop the built-in web server if you was using it and start it in another directory like $HOME for example or /var/www Run behat You SHOULD see an exception stating something like The base URL ( http://localhost:8000 ) is not a behat test site, ensure you started the built-in web server in the correct directory or your web server is correctly started and set up Run all behat tests (it should be running in the CI server so check http://integration.moodle.org and if it is passing there pass it)

      My eyes burns every time I see "Acceptance test site" inside the codebase, I got 5 with a grep and 3 of them can use a constant. Marking as a bug because I'm thinking with the heart, if we should think 100% with the brain I would switch it to improvement.

            dmonllao David Monllaó
            dmonllao David Monllaó
            Ankit Agarwal Ankit Agarwal
            Sam Hemelryk Sam Hemelryk
            Marina Glancy Marina Glancy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.