Cannot scan sites with self-signed SSL certs
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- github-actions, playwright, typescript
- Ambito
- ci-cd, testing-qa
Direzione di ricerca
Inizia dal percorso di errore mostrato in .github/actions/find/dist/findForUrl.js e dai punti di ingresso dell'azione find in .github/actions/find/dist/index.js e bootstrap.js, quindi traccia dove vengono configurati la pagina Playwright o il contesto del browser. Aggiungi un modo per abilitare il comportamento ignoreHTTPSErrors per le scansioni e verifica che l'URL HTTPS di esempio con certificato autofirmato venga completata invece di interrompere il job.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Was giving this tool a little bit of a flex to see how it compares to our Lighthouse workflow, but found that it could not run against our testing environment, since the testing environment uses HTTPS with a self-signed SSL cert.
For context, we set up our testing environment dynamically in GitHub actions, and host it with docker/DDEV. When that environment is up, we can do Lighthouse, Playwright, and Selenium tests against that environment in GitHub CI to a similar degree that a developer could using their own computer.
When the local environment is set up, URLs that follow this pattern are available: https://test.ddev.site/my-test-page. When running this action against that example, we see an error like this:
Starting 'find' action
Preparing to scan https://test.ddev.site/my-test-page
node:internal/modules/run_main:107
triggerUncaughtException(
^
page.goto: net::ERR_CERT_AUTHORITY_INVALID at https://test.ddev.site/my-test-page
Call log:
- navigating to "https://test.ddev.site/my-test-page", waiting until "load"
at findForUrl (/home/runner/work/_actions/github/accessibility-scanner/current/.github/actions/find/dist/findForUrl.js:12:16)
at async Module.default (/home/runner/work/_actions/github/accessibility-scanner/current/.github/actions/find/dist/index.js:14:32)
at async file:///home/runner/work/_actions/github/accessibility-scanner/current/.github/actions/find/bootstrap.js:59:5
at async file:///home/runner/work/_actions/github/accessibility-scanner/current/.github/actions/find/bootstrap.js:31:1 {
name: 'Error'
}
Node.js v24.12.0
That error is thrown, and the rest of the job is completely skipped.
Maybe this action needs a new parameter so that the Playwright environment can use the ignoreHTTPSErrors option?
- Lingua principale
- TypeScript
- Stelle
- 374
- Fork
- 42
- Merge medio
- 1g 13h
- PR unite (30g)
- 7
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di github/accessibility-scanner
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
github/accessibility-scanner#264 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
github/accessibility-scanner#260 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 50/100
github/accessibility-scanner#259 ·
-
Configurable issue labels Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 58/100
github/accessibility-scanner#245 ·
-
Sitemap Support Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
github/accessibility-scanner#244 ·
Tutte le issue di github/accessibility-scanner
Issue simili
-
blocklist removal
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
MetaMask/eth-phishing-detect#296544 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
pastelsky/bundlephobia#1122 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
category/development priority/P2 scope/file-operations scope/testing type/enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Enatega Customer and Rider app: Add-ons price is not visible to customer after order is placed. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100