MatomoBasicTest::testMatomoPageVisibility() fails in merge requests

Created on 7 March 2025, about 1 month ago

Problem/Motivation

The test looks for /matomo/js/matomo.js in the page.
But when the pipeline runs in a merge request, the path of the module contains the MR number.
For example:

<script src="/web/modules/custom/matomo-3376581/js/matomo.js?v=11.1.2"></script>

Steps to reproduce

See for example: https://git.drupalcode.org/project/matomo/-/merge_requests/48

Proposed resolution

The test could simply look for /js/matomo.js.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇫🇷France prudloff Lille

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024