You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we run pa11y in local development environments, fetching the sitemap fails, likely due to curl: (60) SSL certificate problem: self signed certificate. Unfortunately,
only applies to the tested urls, not curling the sitemap itself.
Possible Solutions:
A flag that allows us to write a local test script where -k is added to the curl command to fetch the sitemap.
The ability to pull the sitemap from a file instead. This way, we could curl the sitemap to a folder then read it from there as a file.
Workarounds:
point to an upstream sitemap. This is our current solution, but it relies on the sitemap being up to date and running. It also precludes the ability to test new features locally with ease. We'd like to be able to add a new page with new features to the sitemap locally and test it before sending it upstream.
configure certs to every dev environment (NOPE)
The text was updated successfully, but these errors were encountered:
@loopy3025 As you've seen, pa11y-ci uses fetch (node-fetch specifically) within the Node process to load the sitemap, but the chromeLaunchConfig is only passed to the browser. Until some fix is implemented, you might be able to use something like this to curl the sitemap, extract the urls, and convert them to a list, which pa11y-ci accepts:
Problem:
When we run pa11y in local development environments, fetching the sitemap fails, likely due to
curl: (60) SSL certificate problem: self signed certificate
. Unfortunately,only applies to the tested urls, not curling the sitemap itself.
Possible Solutions:
Workarounds:
The text was updated successfully, but these errors were encountered: