test_return_to_origin test_15 fails in Chromium on main: closing the agents' thread keeps ?thread= in the URL

Đã đóng
#709 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

Một pull request liên quan đã được merge.

  • #724 của @PelikanFix16 — đã merge

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
68/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
playwright, typescript
Lĩnh vực
frontend, testing

Hướng nghiên cứu

Start with test_return_to_origin.py at test_15_closing_an_agents_thread_keeps_the_way_back_to_tasks and run the reported Chromium command to reproduce the URL mismatch. Trace the thread panel's Close action and the history update it triggers, using recent changes #699 and #704 for context. Done means Chromium ends at /projects/<id>/agents while retaining the Tasks origin control.

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

Mô tả

Found while reviewing #680. On main 93e3d9171, in Chromium:

FLUX_UI_BROWSER=chromium ./scripts/check_ui.sh test_return_to_origin.ReturnToOrigin.test_15_closing_an_agents_thread_keeps_the_way_back_to_tasks -> Ran 1 test, FAILED (failures=1).

test_return_to_origin.py:673  expect(page).to_have_url(re.compile(r"/projects/[0-9a-f-]{36}/agents$"))
Actual value: http://127.0.0.1:31300/projects/<id>/agents?thread=<task id>

After "Close" on the agents' thread panel opened from a task's Details, the address should be replaced with /agents (the page the task led to) and keep the "Tasks" origin control; it still ends in ?thread=. The same module in WebKit passes (Ran 71 tests ... OK with the #680 modules), so it may be engine timing or an engine-specific history replace. Not caused by #680 or #688. Recent changes to this area: #699, #704.

Ngôn ngữ chính
TypeScript
Star
3
Fork
0
Merge trung bình
19 giờ 42 phút
Pull request đã merge (30 ngày)
383

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 ColdPhase/flux

Tất cả issue của ColdPhase/flux

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.