fix: address independent verification review findings
Core regression / Python core, intervention UI and release configuration (push) Successful in 12m44s
Core regression / JavaScript syntax (push) Successful in 10s
Core regression / Python core, intervention UI and release configuration (pull_request) Failing after 24m33s
Core regression / JavaScript syntax (pull_request) Successful in 10s

This commit is contained in:
阿白叔 committed 2026-11-19 14:44:52 +08:00
1 parent 7597e98eef
commit b2a84404d8
18 files changed
+514 -97

No files matched your search

+17
View File
@@ -62,3 +62,20 @@ def test_engineering_pages_remain_bounded_and_keep_the_current_page(ui,qtbot):
page.search.setText('Board000')
qtbot.waitUntil(lambda:page.table.rowCount()==1)
assert page.table.item(0,0).text()=='Board000'
def test_older_verification_task_can_be_opened_after_paging(ui,qtbot):
page=ui.window.verification_panel
tasks=[page.service.create_task(f'任务 {n}',request_id=f'page-{n}')['task_id'] for n in range(51)]
page.open_task(tasks[-1])
qtbot.waitUntil(lambda:page.tasks.count()==50 and not page.controller.tasks_query.busy)
page.next_tasks_button.click()
qtbot.waitUntil(lambda:page.tasks.count()==1)
assert page.tasks.item(0).data(Qt.ItemDataRole.UserRole)==tasks[0]
page.tasks.setCurrentRow(0)
qtbot.waitUntil(lambda:page.controller.task_id==tasks[0] and not page.controller.tasks_query.busy)
page.refresh()
qtbot.waitUntil(lambda:not page.controller.tasks_query.busy)
assert page.tasks.currentItem().data(Qt.ItemDataRole.UserRole)==tasks[0]
page.previous_tasks_button.click()
qtbot.waitUntil(lambda:page.tasks.count()==50)