plan-player-analytics / Plan

Player Analytics plugin for Minecraft Server platforms - View player activity of your server with ease. :calendar:
https://www.spigotmc.org/resources/plan-player-analytics.32536/
GNU Lesser General Public License v3.0
848 stars 169 forks source link

Visual difference testing #3176

Open AuroraLS3 opened 1 year ago

AuroraLS3 commented 1 year ago

I would like to be able to..

Test against visual changes so that library updates changing CSS will not break things

Is your feature request related to a problem? Please describe.

Recent bootstrap update broke table coloring and text color in night mode.

Jameskmonger commented 1 year ago

I'd recommend this! It adds a great deal of robustness.

In the past I've used "Wraith" (by BBC News) to automatically generate and test screenshots of sites between versions.

I'm not sure if it's still maintained but there are alternatives.

AuroraLS3 commented 1 year ago

One option is to add screenshots to the existing selenium tests and then do the comparison a bit later in the pipeline.

Currently my main issue is where do I store the main branch image comparison bundle. I'd like to avoid 3rd party services as much as possible since they always go down or do some bullshit after a few years.