[5.x] Refactor and improve tests

Created on 3 August 2022, over 2 years ago
Updated 6 February 2024, 11 months ago

Problem/Motivation

The latest tests only test basic properties (image exists, js loaded, etc.), but not the formatters user interactions via the photoswipe javascript file (click the image, swipe to the next image, etc.). Additionally, some code could be refactored, like programmatically creating a media entity, instead of programmatically creating it via ui. And some tests are commented out, because they do not work properly.

All this should be fixed.

πŸ“Œ Task
Status

Needs work

Version

5.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany Grevil

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024