Giter Club home page Giter Club logo

moodle-report_allylti's Issues

4.4 migrate to new hook

This is a very noisy one in 4.4 dev (unreleased)

Callback before_standard_html_head in report_allylti component should be migrated to new hook callback
line 7448 of /lib/moodlelib.php: call to debugging()
line 7561 of /lib/moodlelib.php: call to {closure}()
line 59 of /lib/classes/hook/output/standard_head_html_prepend.php: call to get_plugins_with_function()
line 708 of /lib/outputrenderers.php: call to core\hook\output\standard_head_html_prepend->process_legacy_callbacks()
line 219 of /lib/mustache/src/Mustache/Context.php: call to core_renderer->standard_head_html()
line 138 of /lib/mustache/src/Mustache/Context.php: call to Mustache_Context->findVariableInStack()
line 31 of /var/www/behatdata/behatrun28/localcache/mustache/1710009767/boost/__Mustache_73560842f9d6c5bc337558df4f13b989.php: call to Mustache_Context->findDot()
line 13 of /var/www/behatdata/behatrun28/localcache/mustache/1710009767/boost/__Mustache_4aa1b29b14b62e9eb02cc88038b79589.php: call to __Mustache_73560842f9d6c5bc337558df4f13b989->renderInternal()
line 67 of /lib/mustache/src/Mustache/Template.php: call to __Mustache_4aa1b29b14b62e9eb02cc88038b79589->renderInternal()
line 208 of /lib/outputrenderers.php: call to Mustache_Template->render()
line 107 of /theme/boost/layout/drawers.php: call to renderer_base->render_from_template()
line 1485 of /lib/outputrenderers.php: call to include()
line 1411 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line 121 of /index.php: call to core_renderer->header()
 (Exception)

see https://moodledev.io/docs/apis/core/hooks

Behat test failure (view_report.feature)

Hi, the test stated above is failing.

Environment details:
MySQL 5.7
PHP 7.4
Moodle latest MOODLE_311_STABLE

Error details:
And I navigate to the course accessibility report: Xpath matching locator "//a[contains(@href, "report/allylti/launch.php?reporttype=course")]" not found.

Failing Behat tests in Moodle 4.0

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)
  1. /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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.