-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
4.0.1
-
None
-
MOODLE_400_STABLE
Hi,
There are a few Behat tests failing for the moodle-mod_scheduler plugin:
- /var/www/html/mod/scheduler/tests/behat/add_slots.feature:74
Feature: Teacher can add slots to a scheduler activity
Scenario: Teacher enters a slot and schedules 3 students
```
And I click on "Student 1" item in autocomplete list number 1: Key Down / Up events only make sense for modifier keys. (InvalidArgumentException)
``` - /var/www/html/mod/scheduler/tests/behat/tutorappointments.feature:63
Feature: Booking of appointments with individual tutors per group
Scenario: A tutor adds slots, and students book them
```
And I add the upcoming events block globally: Link matching locator "Site home" not found. (Behat\Mink\Exception\ElementNotFoundException)
``` - /var/www/html/mod/scheduler/tests/behat/tutorappointments.feature:108
Feature: Booking of appointments with individual tutors per group
Scenario: Several tutors add slots, they can be seen only by relevant users
```
And I add the upcoming events block globally: Link matching locator "Site home" not found. (Behat\Mink\Exception\ElementNotFoundException)
``` - /var/www/html/mod/scheduler/tests/behat/conflicts.feature:72
Feature: Teachers are warned about scheduling conflicts
Scenario: A manager edits slots for several teachers, creating conflicts
```
And I follow "Site home": Link matching locator "Site home" not found. (Behat\Mink\Exception\ElementNotFoundException)
``` - /var/www/html/mod/scheduler/tests/behat/group_availability.feature:46
Feature: As a teacher I need to see an accurate list of users to be scheduled
Scenario: A scheduler that is restricted to a single group
```
When I navigate to "Edit settings" in current page administration: Link "Edit settings" in the current page edit menu" not found. (Behat\Mink\Exception\ElementNotFoundException)
``` - /var/www/html/mod/scheduler/tests/behat/group_availability.feature:63
Feature: As a teacher I need to see an accurate list of users to be scheduled
Scenario: A scheduler that is restricted to a grouping
```
When I navigate to "Edit settings" in current page administration: Link "Edit settings" in the current page edit menu" not found. (Behat\Mink\Exception\ElementNotFoundException)
``` - /var/www/html/mod/scheduler/tests/behat/groupmode.feature:84
Feature: Users can only see their own groups if the scheduler is in group mode
Scenario: Editing teachers can see all slots and all groups
```
And I add the upcoming events block globally: Link matching locator "Site home" not found. (Behat\Mink\Exception\ElementNotFoundException)
``` - /var/www/html/mod/scheduler/tests/behat/groupmode.feature:171
Feature: Users can only see their own groups if the scheduler is in group mode
Scenario: Nonediting teachers can see groups only if allowed by the group mode
```
And I add the upcoming events block globally: Link matching locator "Site home" not found. (Behat\Mink\Exception\ElementNotFoundException)
``` - /var/www/html/mod/scheduler/tests/behat/groupmode.feature:277
Feature: Users can only see their own groups if the scheduler is in group mode
Scenario: Students can see slots available to their own groups, or a slots if group mode is off
```
And I add the upcoming events block globally: Link matching locator "Site home" not found. (Behat\Mink\Exception\ElementNotFoundException)
``` - /var/www/html/mod/scheduler/tests/behat/groupmode.feature:335
Feature: Users can only see their own groups if the scheduler is in group mode
Scenario: Students can see slots available to their own groups in forced group mode
```
And I add the upcoming events block globally: Link matching locator "Site home" not found. (Behat\Mink\Exception\ElementNotFoundException)
``` - /var/www/html/mod/scheduler/tests/behat/groupscheduling.feature:80
Feature: Entire groups can be booked into slots at once
Scenario: Editing teachers can see and schedule relevant groups
```
And I navigate to "Edit settings" in current page administration: Link "Edit settings" in the current page edit menu" not found. (Behat\Mink\Exception\ElementNotFoundException)
``` - /var/www/html/mod/scheduler/tests/behat/groupscheduling.feature:117
Feature: Entire groups can be booked into slots at once
Scenario: Students can book their entire group into a slot
```
And I navigate to "Edit settings" in current page administration: Link "Edit settings" in the current page edit menu" not found. (Behat\Mink\Exception\ElementNotFoundException)
``` - /var/www/html/mod/scheduler/tests/behat/notes.feature:81
Feature: Teachers can write notes on slots and appointments
Scenario: Teachers see only the comments fields specified in the configuration
```
And I navigate to "Edit settings" in current page administration: Link "Edit settings" in the current page edit menu" not found. (Behat\Mink\Exception\ElementNotFoundException)
``` - /var/www/html/mod/scheduler/tests/behat/officehours.feature:35
Feature: Office hours bookings with Scheduler, one booking per student
Scenario: The teacher adds slots, and students book them
```
And I add the upcoming events block globally: Link matching locator "Site home" not found. (Behat\Mink\Exception\ElementNotFoundException)
``` - /var/www/html/mod/scheduler/tests/behat/studentdata.feature:26
Feature: Student-supplied data
Scenario: A teacher configures a booking form, and students enter data
```
And I navigate to "Edit settings" in current page administration: Link "Edit settings" in the current page edit menu" not found. (Behat\Mink\Exception\ElementNotFoundException)
```
MySQL 5.7
PHP 7.4
Moodle latest MOODLE_400_STABLE
executed with moodlehq/moodle-docker