anthology-ally / moodle-report_allylti

1 stars 11 forks source link

Failing Behat tests in Moodle 4.0 #3

Open dragos5436 opened 2 years ago

dragos5436 commented 2 years ago

Hi,

There are two Behat tests failing for this plugin:

  1. /var/www/html/report/allylti/tests/behat/test_accessibility_report.feature:31 Feature: Accessibility report should not be available to users that don't have Ally configured Scenario: Administrator should see Accessibility report after setting up Ally in the site.

    Then I should see "Accessibility report": "Accessibility report" text was not found in the page (Behat\Mink\Exception\ExpectationException)
  2. /var/www/html/report/allylti/tests/behat/view_report.feature:58 Feature: Launch to Ally reports Scenario: Teacher can click a link to launch course report, student cannot. #1

    And I click on "//div[@id='settingsnav']//ul//li//ul//li[@class='type_container depth_2 contains_branch'][2]//ul//li[@class='type_setting depth_3 item_with_icon'][1]//a" "xpath_element": The "(//html//div[@id='settingsnav']//ul//li//ul//li[@class='type_container depth_2 contains_branch'][2]//ul//li[@class='type_setting depth_3 item_with_icon'][1]//a)[1]" xpath node is not visible and it should be visible (Behat\Mink\Exception\ExpectationException)

MySQL 5.7 PHP 7.4 Moodle latest MOODLE_400_STABLE executed with moodlehq/moodle-docker