fix-ui-restore-task-status-categories
Core regression / Python core and release configuration (push) Successful in 15s
Core regression / JavaScript syntax (push) Successful in 3s
Core regression / Python core and release configuration (pull_request) Successful in 16s
Core regression / JavaScript syntax (pull_request) Successful in 4s

This commit is contained in:
阿白叔 committed 2026-11-03 11:02:27 +08:00
1 parent ba1d50cdfc
commit 63835afba8
6 files changed
+137 -7

No files matched your search

+12
View File
@@ -157,6 +157,15 @@ def main():
assert report['empty_search_feedback']
capture('native-app-empty-search')
window.plan_panel.clear_find();window.plan_panel.table.clearSelection()
task_id=window._task_id
window.task_list.filter.setCurrentIndex(window.task_list.filter.findData('completed'))
assert window.task_list.list.count()==0 and window._task_id==task_id
capture('native-app-completed-category')
window.task_list.filter.setCurrentIndex(window.task_list.filter.findData('unfinished'))
assert window.task_list.list.count()==len(tasks)
window.task_list.filter.setCurrentIndex(window.task_list.filter.findData('all'))
assert window.task_list.current_task_id()==task_id
report['status_categories']=True
window.reduced_transparency_button.setChecked(True);capture('native-app-solid')
assert not window.property('acrylicEnabled')
solid=captures['native-app-solid']
@@ -178,6 +187,9 @@ def main():
report['compact_table_height']=window.plan_panel.table.viewport().height()
assert report['compact_size']==[980,700]
assert report['compact_table_height']>=100
assert window.task_list.filter.isVisible()
point=window.task_list.filter.mapTo(window,window.task_list.filter.rect().bottomRight())
assert 0<=point.x()<window.width() and 0<=point.y()<window.height()
# Preview UI gates with an owned StopControl; never dispatch a worker.
window._begin_run(tasks[0].task_id);window._update_gates();settle(.2)
report['force_stop_direct']=window.run_panel.force_stop_button.isVisible()