[Bug] Unused methods in `chai-extras.js` related to UI tests
michalkleiner opened this issue · comments
What happened?
checkForDangerousLinks
and performAutomaticPageChecks
in chai-extras.js
are not used since switching from PhantomJS to headless Chrome 5 years ago.
What should happen?
The methods should be reinstated or removed.
How can this be reproduced?
Look at the code at https://github.com/matomo-org/matomo/blob/5.x-dev/tests/lib/screenshot-testing/support/chai-extras.js#L259 and search for usage of the mentioned methods.
Matomo version
5
PHP version
N/A
Server operating system
N/A
What browsers are you seeing the problem on?
Not applicable (e.g. an API call etc.)
Computer operating system
N/A
Relevant log output
No response
Validations
- Read our Contributing Guidelines.
- Follow our Security Policy.
- Check that there isn't already an issue that reports the same bug to avoid creating duplicates.
- The provided steps to reproduce is a minimal reproducible of the Bug.