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

Skip behat tests requiring Solr if Solr is not installed

XMLWordPrintable

    • MOODLE_401_STABLE
    • MOODLE_311_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE
    • MDL-76103-master
    • Hide
      1. Run behat tests with tag @core_search with and without solr installed
      2. Confirm there are no failures reported but a mix of passing and skipped tests. (Skipped tests are indicated as "-")
      3. Set up solr and rerun the test.
      4. Confirm there are no skipped tests and that they are all passing.
      Show
      Run behat tests with tag @core_search with and without solr installed Confirm there are no failures reported but a mix of passing and skipped tests. (Skipped tests are indicated as " - ") Set up solr and rerun the test. Confirm there are no skipped tests and that they are all passing.

      search/tests/behat/search_by_user.feature contains behat tests that require solr, and they fail if solr is not installed

      We skip such tests in unittests but do not skip in behat

      It is important for PHP 8.1 epic because Solr does not currently work in PHP 8.1 and we need to run all tests

        1. MDL-76103_master_1.png
          MDL-76103_master_1.png
          53 kB
        2. MDL-76103_master_2.png
          MDL-76103_master_2.png
          52 kB
        3. MDL-76103_v311_1.png
          MDL-76103_v311_1.png
          53 kB
        4. MDL-76103_v311_2.png
          MDL-76103_v311_2.png
          53 kB
        5. MDL-76103_v39_1.png
          MDL-76103_v39_1.png
          49 kB
        6. MDL-76103_v39_2.png
          MDL-76103_v39_2.png
          46 kB
        7. MDL-76103_v400_1.png
          MDL-76103_v400_1.png
          53 kB
        8. MDL-76103_v400_2.png
          MDL-76103_v400_2.png
          53 kB

            marina Marina Glancy
            marina Marina Glancy
            Simey Lameze Simey Lameze
            Jun Pataleta Jun Pataleta
            Angelia Dela Cruz Angelia Dela Cruz
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 6 hours, 49 minutes
                6h 49m

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