Cannot scan sites with self-signed SSL certs
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- github-actions, playwright, typescript
- 領域
- ci-cd, testing-qa
調査の方向性
.github/actions/find/dist/findForUrl.js に示されている失敗経路と、.github/actions/find/dist/index.js および bootstrap.js にある find アクションのエントリポイントから始めて、Playwright のページまたはブラウザーコンテキストがどこで設定されているかを追跡します。スキャンで ignoreHTTPSErrors の動作を有効にする方法を追加し、自己署名 HTTPS 証明書を使用するサンプル URL がジョブを中断せずに完了することを検証します。
索引モデルが issue の本文から書いたものです。
説明
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?
- 主要言語
- TypeScript
- スター
- 374
- フォーク
- 42
- 平均マージ
- 1日 13時間
- マージ済み PR(30日)
- 7
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
github/accessibility-scanner のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
github/accessibility-scanner#264 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
github/accessibility-scanner#260 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 50/100
github/accessibility-scanner#259 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 58/100
github/accessibility-scanner#245 ·
-
Sitemap Support オープン
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
github/accessibility-scanner#244 ·
github/accessibility-scanner の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
-
security
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
IBM/node-sdk-core#373 ·
-
e2e-failure ready-to-code
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
-
chore
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100