Add a real Chrome trace with snapshot tests
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
- 53/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ệ
- github, node.js, typescript
Hướng nghiên cứu
Start by reading the existing synthetic test fixtures and tests for overview, insights, tasks, network, shifts, interactions and report; the issue does not name their files. Record a small Chrome trace with a page load and interaction, save it as .json.gz, and add node:test snapshots for each output. Done means the fixture contains no private data and snapshot changes are visible when the trace engine output changes.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Child of #9.
All test fixtures are synthetic. Dependabot updates @paulirish/trace_engine every day, so CI can pass when the engine output changes in a way the synthetic fixtures do not cover.
Proposal
- Add a small real trace recorded in Chrome, with a page load and an interaction, as
.json.gz. It must not contain private URLs or data. - Add snapshot tests with the
node:testsnapshot support (t.assert.snapshot) foroverview,insights,tasks,network,shifts,interactionsandreport. - When a Dependabot update changes the output, the snapshot diff shows the change, and the PR updates the snapshots on purpose.
Open questions
- What is the size limit for a fixture in the repo? A load of a small test page should be under 1 MB compressed.
- Which page do we record? A static page in the repo would let anyone record the trace again.
- Ngôn ngữ chính
- TypeScript
- Star
- 15
- Fork
- 4
- Merge trung bình
- 1 ngày 17 giờ
- Pull request đã merge (30 ngày)
- 22
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ChromeDevTools/trace-engine-cli
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
ChromeDevTools/trace-engine-cli#27 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
ChromeDevTools/trace-engine-cli#10 · 2 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 12/100
ChromeDevTools/trace-engine-cli#9 · 5 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của ChromeDevTools/trace-engine-cli
Issue tương tự
-
feature
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
ChromeDevTools/chrome-devtools-mcp#3689 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: Team (channel) avatars render noticeably smaller than agent avatars in the sidebar gridĐang mởbug from-app needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
nightly-labs/openbot#21303 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
ADORSYS-GIS/CoopData#282 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
OHDSI/Data2Evidence#3816 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
`ovsx verify` fails for a version older than the 100 newest of an extensionCó thể đã có người làm @trivikr đã nhận hôm nay. Đang mởcli
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 81/100
eclipse-openvsx/openvsx#2482 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày