Testing kit: drive a plugin's own area, editor panel and status check
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
- 35/100
Hướng nghiên cứu
Start in packages/teme-testing, where PluginUnderTest lives, and look at how the kit already exposes jobs and public routes. Core's PluginArea, EditorPanel and ChecksStatus contracts, and the AreaContext and EditorPanelContext they receive, define what the new methods must call and validate. Done means area(), panel() and statusNotices() run through core's manifest validation, permission checks and time budgets, and a refusal fails the test with its message.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Core calls a plugin's own admin area (PluginArea: figures, chart, rows, values, save, act), its editor panels (EditorPanel::view() and settled()) and its status checks (ChecksStatus) with contexts it builds (AreaContext, EditorPanelContext), under time budgets and after validating what the manifest declared.
The testing kit offers no way to call any of these as a person. A test can reach only what jobs and public routes share with them, so the plugin's screens, its form checks and its permission rules are untested through the kit, and a test that builds the contexts by hand skips what core checks.
Expected: methods on PluginUnderTest, taking the person to act as, last, like the rest of the kit. For example area()->rows('record', filters, as: $person), area()->save('record', $id, $values, as: $person), panel('id')->view($item, as: $person), and statusNotices(), running through the same validation, permission checks and budgets core applies, and failing the test with the refusal's words.
Where: packages/teme-testing.
🤖 Generated with Claude Code
- Ngôn ngữ chính
- PHP
- Star
- 1
- Fork
- 1
- Merge trung bình
- 1 giờ 40 phút
- Pull request đã merge (30 ngày)
- 143
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- 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 temecms/teme
-
area/admin type/enhancement when/soon
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area/media type/enhancement when/soon
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area/admin type/bug when/soon
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area/import type/documentation when/soon
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area/admin area/import type/bug when/later
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
2DAW-CarlosIII/eportfolio_g5#35 ·
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 72/100
2DAW-CarlosIII/eportfolio_g4#33 ·
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 72/100
2DAW-CarlosIII/eportfolio_g1#34 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
P2 Team S Type: Infrastructure
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
google/site-kit-wp#14271 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Display price Views field throws TypeError when the row has no productCó thể đã có người làm @albanycomputers đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
backdrop-contrib/ubercart#610 ·