ERR_ABORTED instability when running backstop test sequentially.
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- javascript
- 領域
- testing
調査の方向性
まず、提供された BackstopJS 設定で逐次実行を再現し、次に puppet/onBefore.js と puppet/onReady.js を、生成されたリファレンス bitmap とテスト bitmap のパスと併せて調べます。失敗している 0__1 の検索結果を承認済みのファイル名と比較し、繰り返し実行した場合に一貫性のないキャプチャ名が生成されるかどうかを確認します。逐次実行が ERR_ABORTED なしで完了し、期待される bitmap 名を使用すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Hi, I'm having trouble running backstop stably.
I currently have an app in Vue 2 and I created a script to authenticate onBefore and then take screenshots. I created a simple page with just the text ''hi'' to test, but I also used "complex" pages and both fail with the same error. The problem is that when running the tests sequentially (after passing, run again) the tests fail with the error below:
Note: in the error it searches for the name with two underscores (0__1), but the reference file that was approved has only one:
Any idea what it could be? Please help me, I've tried several alternatives and nothing works correctly. Thanks.
my json:
{
"id": "backstop_default",
"viewports": [
{
"label": "mobile",
"width": 360,
"height": 740
},
{
"label": "web",
"width": 1440,
"height": 1024
}
],
"onBeforeScript": "puppet/onBefore.js",
"onReadyScript": "puppet/onReady.js",
"scenarios": [
{
"label": "Teste",
"cookiePath": "backstop_data/engine_scripts/cookies.json",
"url": "http://localhost:3000/teste",
"referenceUrl": "",
"readyEvent": "",
"readySelector": "",
"delay": 4000,
"hideSelectors": [
"#tex-toast"
],
"removeSelectors": [],
"hoverSelector": "",
"clickSelector": "",
"postInteractionWait": 0,
"selectors": [],
"selectorExpansion": true,
"expect": 0,
"misMatchThreshold": 0.3,
"requireSameDimensions": true
}
],
"paths": {
"bitmaps_reference": "backstop_data/bitmaps_reference",
"bitmaps_test": "backstop_data/bitmaps_test",
"engine_scripts": "backstop_data/engine_scripts",
"html_report": "backstop_data/html_report",
"ci_report": "backstop_data/ci_report"
},
"report": [
"browser"
],
"engine": "puppeteer",
"engineOptions": {
"args": [
"--no-sandbox"
]
},
"asyncCaptureLimit": 4,
"asyncCompareLimit": 20,
"debug": false,
"debugWindow": false
}
- 主要言語
- 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