In CodeceptJS using puppeteer helper, getting issue in Window opening after click action

オープン
#4,845 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
javascript, nodejs
領域
testing-qa

調査の方向性

まず、説明されているユニットテストのフローを再現します。「Save」をクリックし、認証ウィンドウを観察して、古いバージョンとアップグレード後の CodeceptJS および Puppeteer を比較します。調査の手がかりとして、ブラウザーの「Debugger Paused in another tab」メッセージと、ウィンドウが繰り返し開くことを使用します。認証ウィンドウが一度だけ開いて閉じ、スクリプトが確実に完了すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

stale

We are upgrading CodeceptJS(2.6.11 to 3.6.10) and Puppeteer(9.1.1 to 24.1.1) versions and didn't have this issue with older versions. After upgrade observed this issue while unit testing the scripts

In our application - When clicked on Save button a new Window opens for authentication. It will be authenticated automatically and closes.

Issue: Its trying to open new Window for authentication but its blinking continuously to open Window and script fails.

And also observed a message on browser Debugger Paused in another tab, switch to that tab. however window is not opened completely its blinking.

Tried Manually after script failed, able to open new window and authenticate successfully

主要言語
JavaScript
スター
4.2k
フォーク
756
平均マージ
2日 9時間
マージ済み PR(30日)
16

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

codeceptjs/CodeceptJS のほかの issue

codeceptjs/CodeceptJS の issue をすべて見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。