Old reference images will be shown in some server environments
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- javascript
- 領域
- testing-qa
調査の方向性
backstop reference、ブラウザーレポート、および画像をキャッシュするように構成されたサーバーで問題を再現します。レポートが /backstop_data/bitmaps_reference/<scenario>.png の URL をどのように構築しているかを調査し、レポート固有の cache-busting 値を追加します。更新されたリファレンス画像がレポートに表示され、テスト画像と差分比較が引き続き機能すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Some server environments will cause stale reference images shown in the browser report. This will happen whenever the server is configured to tell the browser to cache all images. E.g.
When so configured, these are the steps to reproduce:
- Run
backstop referenceto get some "reference" snapshots (e.g. of the staging environment) - Open the backstop browser report.
- Do something to change the appearance of the reference
- Rerun
backstop referenceto get fresh "reference" snapshots - Open the backstop browser report. Note how the "reference" images are from the first run and not your changed content, even though backstop is able to diff correctly. Note how the "test" images are fine, that's because they always have a new path
/backstop_data/bitmaps_test/<date+time>/<scenario>.png, but "reference" images always have a constant path/backstop_data/bitmaps_reference/<scenario>.png.
Proposed solution:
Append the time that the report was created to reference images. Something like:
e.g. <img src="/backstop_data/bitmaps_reference/my-scenario.png?report-time=1234567890" />
- 主要言語
- JavaScript
- スター
- 7.2k
- フォーク
- 617
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
garris/BackstopJS のほかの issue
-
Upgrade Node Image in Docker File to LTS version再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 62/100
garris/BackstopJS#1512 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
garris/BackstopJS#576 · コメント 6 件 ·
-
Security issue with "extract-zip" and outdated "puppeteer" version対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
garris/BackstopJS#1625 · コメント 10 件 · リアクション 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
garris/BackstopJS#1619 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
garris/BackstopJS#1617 · コメント 2 件 ·
garris/BackstopJS の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
-
難易度 1/5 1〜3時間 初心者へのやさしさ 73/100
WordPress/create-block-theme#907 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 93/100