-
Notifications
You must be signed in to change notification settings - Fork 24
Description
I would like to be able to make changes to the Website in good conscience. In the past, I have kept the output of the build in a repo and made diffs to convince myself that it's only better. This is more complicated these days.
There are frameworks for Python that are capable of running a local browser, chromium, firefox at least and take images of the rendered page. These then being determistic, could be kept and compared. Every time or when we consider it matters.
We should capture several pages with this, and by virtue of selecting the right one, with tables, etc. know that layouts are not broken and stay the same. Recently the Nuitka logo was the only thing broken by inlining the SVGs (or so we are thinking). It would be nice to be able to know, so we can act more agile. Specifically the PurgeCSS change feels scary.
Ideally we could cover the macOS browser too, but I don't see that happening in CI.
Updating the captures should be an option to run from update.py and then I could change CI to stop from deployment if the images are changed in anyway. Images of course must not have time stamps for that. We can later decide if we want to put those images into a separate repository, potentially a sub-module, but those also cause issues from past experience with Nuitka and the CPython test suites. Verifying would be a task to execute.
Let me know if I am missing something idea wise.