Terminate a browser immediately when all tests are done on it
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- javascript
- 領域
- testing-qa
調査の方向性
まず、複数のブラウザーを指定して示されている npm test コマンドを実行し、完了およびブラウザーの終了に関する test-runner のライフサイクルを調査します。Selenium と BrowserStack のセッションがどのように管理されているかを追跡します。完了とは、各ブラウザーのテストが終了した直後にそのブラウザーが終了され、スタックしていると見なされたり、最後のモジュールを再実行したりしないことです。
索引モデルが issue の本文から書いたものです。
説明
Currently, JTR only terminates browsers when all tests are done in all requested browsers.
It's not a problem for our CI as we only run JTR on a single browser at a time, but it makes local test runs much more annoying.
For example, running the following in jQuery:
npm run test:unit -- -v -c jtr-isolate.yml --browserstack 'IE_11' --browserstack 'Chrome_latest' --browserstack 'Firefox_latest' --browserstack 'Safari_latest'
usually leads to modern browsers finishing quickly and waiting while IE is running tests. Since they wait for a long time, the browsers are idle for too long and... JTR (or something under the hood) thinks it's because the browser got stuck, restarts the browser and re-runs the last module tests on it (here: tween).
One possible solution to this would be to fix this detection, but needlessly keeping the browser running in idle mode is also not great; just terminating the browser when it's done would solve both issues at the same time.
- 主要言語
- JavaScript
- スター
- 4
- フォーク
- 2
- 平均マージ
- 1日 2時間
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
jquery/jquery-test-runner のほかの issue
-
`latest-1` should match the highest version below the latest, not really latest minus 1再び着手できるかも @timmywil が 464 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
jquery/jquery-test-runner#17 · コメント 5 件 · 担当者 1 名 ·
-
Failed DELETE worker requests don't trigger test retries再び着手できるかも @timmywil が 590 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
jquery/jquery-test-runner#15 · 担当者 1 名 ·
jquery/jquery-test-runner の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
good first issue help wanted javascript up-for-grabs
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
andrewsiah/agentswarm-data-tasks#307 ·
メンテナーはふだん 1 日以内に返信
-
needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
coder/claudecode.nvim#588 ·
メンテナーはふだん 1 日以内に返信
-
area: web tech debt
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
digitalbazaar/http-client#60 ·