Reuse the previous test's end frame in Nightwatch and Selenium

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

Maintainer thường phản hồi trong vòng 1 ngày

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
57/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
testing

Hướng nghiên cứu

Start by reading the WDIO change in issue #583, then inspect SessionCapturer#queueActionSnapshot and commandPostActions.ts in the Nightwatch and Selenium adapters. Check whether each adapter’s first capture repeats the prior test’s end frame, accounting for captures running after commands. If it does, apply the reuse behavior and verify the first capture is skipped only when the frame is reusable.

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

Mô tả

#583 lets the WDIO service skip a test's first capture when only lookups and reads ran since the previous test's end-of-test capture: it reuses that frame. On cloud iOS that probe is a duplicate page-source read of about 0.6 to 0.8 s per test.

Nightwatch (SessionCapturer#queueActionSnapshot) and Selenium (commandPostActions.ts queueActionSnapshot) still always capture a test's first mapped command. Their capture runs after the command rather than before it, so the reuse rule can't be copied as is. Find out whether the first capture of a test still repeats the previous end frame in those adapters, and if it does, apply the same reuse there.

Ngôn ngữ chính
TypeScript
Star
10
Fork
4
Merge trung bình
1 ngày 11 giờ
Pull request đã merge (30 ngày)
76

Chuẩn bị môi trường

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 webdriverio/devtools

Tất cả issue của webdriverio/devtools

Issue tương tự

Thêm issue về TypeScript

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.