Missing printscreens when using stepByStep reporter and run-workers with Codeceptjs 3.7.3

Đang mở
#4,856 6 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
javascript, node.js
Lĩnh vực
testing-qa

Hướng nghiên cứu

Bắt đầu bằng cách xem xét codecept.conf.js được đính kèm cùng với báo cáo stepByStep, tập trung vào cách run-workers và run-multiple xác định đường dẫn báo cáo và ảnh chụp màn hình. Tái hiện lỗi và so sánh output với reports/html/stepByStep/record*; được coi là hoàn tất khi ảnh chụp màn hình của các test thất bại xuất hiện tại các vị trí được báo cáo stepByStep sử dụng.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

stale

What are you trying to achieve?
With run-workers ( and same symptoms with run-multiple), obtain a complete report using the stepByStep reporter

What do you get instead?
The top records.html file is created, but the screenshots for failed tests look like they're not stored in the appropriate directory : they're stored in _output and as a result the stepByStep report looks empty.

jenkins@tests-projects-linkurious-enterprise-develop-stable-1025--wlv51:~/agent/workspace/urious-enterprise_develop-stable$ ls -lah reports/
checkstyle.xml  html/           unit/
jenkins@tests-projects-linkurious-enterprise-develop-stable-1025--wlv51:~/agent/workspace/urious-enterprise_develop-stable$ ls -lah reports/html/stepByStep/record_
record_44efc55c9202038f8c3e19f105604f19b9be2e4abdf62d06e608de72e61854c9/ record_7f172197ce773e117720ee3040980b9a2fb74f42d42171d7debeeef034b102bd/
jenkins@tests-projects-linkurious-enterprise-develop-stable-1025--wlv51:~/agent/workspace/urious-enterprise_develop-stable$ ls -lah reports/html/stepByStep/record_*
reports/html/stepByStep/record_7f172197ce773e117720ee3040980b9a2fb74f42d42171d7debeeef034b102bd:
total 12K
drwxr-xr-x 2 jenkins jenkins 4.0K Feb 12 16:49 .
drwxr-xr-x 4 jenkins jenkins 4.0K Feb 12 16:52 ..
-rw-r--r-- 1 jenkins jenkins 3.0K Feb 12 16:49 index.html

reports/html/stepByStep/record_c213406b65383a76910a89e0886590cbbcd8527ddb170fde82892d35ce17a7ca:
total 8.0K
drwxr-xr-x 2 jenkins jenkins 4.0K Feb 12 16:52 .
drwxr-xr-x 4 jenkins jenkins 4.0K Feb 12 16:52 ..
jenkins@tests-projects-linkurious-enterprise-develop-stable-1025--wlv51:~/agent/workspace/urious-enterprise_develop-stable$ ls -lah _output/
total 12K
drwxr-xr-x  3 jenkins jenkins 4.0K Feb 12 16:49 .
drwxr-xr-x 13 jenkins jenkins 4.0K Feb 12 16:44 ..
drwxr-xr-x  2 jenkins jenkins 4.0K Feb 12 16:49 basic_chromium1
jenkins@tests-projects-linkurious-enterprise-develop-stable-1025--wlv51:~/agent/workspace/urious-enterprise_develop-stable$ ls -lah _output/basic_chromium1/
total 48K
drwxr-xr-x 2 jenkins jenkins 4.0K Feb 12 16:49 .
drwxr-xr-x 3 jenkins jenkins 4.0K Feb 12 16:49 ..
-rw-r--r-- 1 jenkins jenkins  39K Feb 12 16:49 User_can_create_and_delete_visualizations_within_a_spa.failed.png
jenkins@tests-projects-linkurious-enterprise-develop-stable-1025--wlv51:~/agent/workspace/urious-enterprise_develop-stable$

Please find attached an example of the stepByStep report and our codecept.conf.js file
stepByStep.zip
codecept.conf.js.zip

This is a follow-up of https://github.com/codeceptjs/CodeceptJS/issues/4637

Ngôn ngữ chính
JavaScript
Star
4.2k
Fork
756
Merge trung bình
2 ngày 9 giờ
Pull request đã merge (30 ngày)
16

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của codeceptjs/CodeceptJS

Tất cả issue của codeceptjs/CodeceptJS

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.