JRaviLab / molevolvr2.0

WIP new molevolvr app
0 stars 9 forks source link

Integrate Lighthouse testing #33

Open vincerubinetti opened 1 week ago

vincerubinetti commented 1 week ago

See this related issue about color contrast which is the motivation behind this issue: https://github.com/JRaviLab/molevolvr2.0/issues/22

As a habit, I periodically check webapps I develop with Chrome Devtool's built-in Lighthouse checks. However, I've never tried running Lighthouse in an automatic fashion, and exhaustively for every page. I'd like to at least try it in this app.

Here is the package we'd most likely use: https://www.npmjs.com/package/playwright-lighthouse

Some notes/guidelines:

Note that this would not be a replacement for the Axe Core testing that is already in place: https://github.com/GoogleChrome/lighthouse/issues/15215 If I had to only pick one, Axe Core is much more useful.

kemsguy7 commented 1 day ago

@vincerubinetti @jananiravi do you mind assigning this to me?