codeceptjs / codeceptjs/CodeceptJS
In CodeceptJS using puppeteer helper, getting issue in Window opening after click action
- Ngôn ngữ chính
- JavaScript
- Star
- 4.2k
- Fork
- 757
- Merge trung bình
- 2 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 16
Mô tả
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
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện quy trình unit-testing được mô tả: nhấp vào Save, quan sát cửa sổ xác thực và so sánh các phiên bản CodeceptJS và Puppeteer cũ với các phiên bản đã nâng cấp. Sử dụng thông báo “Debugger Paused in another tab” của trình duyệt và việc cửa sổ liên tục mở lại làm manh mối điều tra. Được xem là hoàn tất khi cửa sổ xác thực mở và đóng một lần, đồng thời script hoàn tất một cách ổn định.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- javascript, nodejs
- Lĩnh vực
- testing-qa
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100