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

The "Click on today's course event on the calendar view page's calendar block" scenario started to fail again

XMLWordPrintable

    • MOODLE_403_STABLE, MOODLE_404_STABLE
    • MOODLE_403_STABLE, MOODLE_404_STABLE
    • MDL-82505-403
    • MDL-82505-404
    • MDL-82505-main
    • Hide
      1. Setup moodle-docker with extra ENV variable: MOODLE_DOCKER_BROWSER=chrome
      2. Initialize behat environment by the below command

        bin/moodle-docker-compose exec webserver php admin/tool/behat/cli/init.php 

      3. Run behat tests by the below command

        bin/moodle-docker-compose exec -u www-data webserver php admin/tool/behat/cli/run.php --tags=@core_calendar

      4. Verify that all the tests are passed.
      5. Run behat tests by the below command

        bin/moodle-docker-compose exec -u www-data webserver php admin/tool/behat/cli/run.php --tags=@block_calendar_month

      6. Verify that all the tests are passed.
      Show
      Setup moodle-docker with extra ENV variable: MOODLE_DOCKER_BROWSER=chrome Initialize behat environment by the below command bin/moodle-docker-compose exec webserver php admin/tool/behat/cli/init.php Run behat tests by the below command bin/moodle-docker-compose exec -u www-data webserver php admin/tool/behat/cli/run.php --tags= @core_calendar Verify that all the tests are passed. Run behat tests by the below command bin/moodle-docker-compose exec -u www-data webserver php admin/tool/behat/cli/run.php --tags= @block_calendar_month Verify that all the tests are passed.
    • 2
    • Team Hedgehog 2024 Review 2

      In theory this failure was fixed by MDL-82363 but it started to fail again, see this build

      Looking the console output, the error message is exactly the same:

      Then I should see "Site Event" in the "Calendar" "block": "Site Event" text was found in the "Calendar" element but was not visible (Behat\Mink\Exception\ExpectationException)
      

      To confirm that it's not related to any issue integrated this week, I have launched a reps build on moodle.git and it fails too: https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/54248/

            huongn@moodle.com Huong Nguyen
            lameze Simey Lameze
            Simey Lameze Simey Lameze
            Jun Pataleta Jun Pataleta
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours, 35 minutes
                4h 35m

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