A script to scan the City's websites for performance, accessibility, and best practice issues.
Uses lighthouse-ci to regularly audit websites that the City of Sault Ste. Marie is responsible for.
npm install
npm install -g @lhci/cli npm-run-all
npm test
Individual website tests and website groups can be run as well.
See the scripts
section of the package.json file.
Test Category | Minimum Score |
---|---|
Accessibility | 95% |
Best Practices | 60% |
Search Engine Optimization (SEO) | 50% |
Performance | 40% |
As we improve our websites, the success criteria will increase.
Note that websites marked as "failing" are not down. We are just striving to improve them.
Thanks Shields.io for the badges used to make the table below.
Website /Test | Latest Results |
---|---|
SaultSteMarie.canpm run test:website:saultstemarie |
|
GFLGardens.canpm run test:website:gflgardens |
|
ArtsAndCultureSSM.canpm run test:website:artsandculturessm |
|
WelcomeToSSM.comnpm run test:website:welcometossm |
|
FutureSSM.comnpm run test:website:futuressm |
|
SaultTourism.comnpm run test:website:saulttourism |
|
Sault Ste. Marie Building Permit Servicesnpm run test:eservices:apps-cityapps |
|
Document Requesting Servicenpm run test:eservices:apps-shop |
|
Third Party - Active Communitiesnpm run test:thirdparty:activecommunities |
|
Third Party - Arena Ticket Salesnpm run test:thirdparty:arenaTicketSales |
|
Third Party - Clear Risk Formsnpm run test:thirdparty:clearrisk |
|
Third Party - Virtual City Hallnpm run test:thirdparty:virtualcityhall |
|
cityssm.github.ionpm run test:other:cityssmGithub |
|
CWASSM.canpm run test:other:cwassm |
|
SaultNetwork.canpm run test:other:saultnetwork |
|
SaultTogether.canpm run test:other:saulttogether |
|
ShapeTheSault.canpm run test:other:shapethesault |