Files
LearningCircuit 5f94aae1fd test(ui): add history delete lifecycle test (#5311)
* test(ci): seed completed research for history delete UI test

Adds seed_history_delete.py which creates a deterministic COMPLETED ResearchHistory for test_admin before server boot (no LLM needed), plus a conditional CI seed step in docker-tests.yml for the history-news shard. Writes a history_delete_seed.json manifest.

* test(ui): add history delete lifecycle test to history-news shard

Adds test_history_delete_ci.js covering the research delete flow: delete button visibility, confirm dialog dismiss preserves item, confirm dialog accept triggers DELETE /api/delete/<id> and removes the item from the DOM. Uses native window.confirm() handling via page.on('dialog').

* test(ui): repair history delete coverage
2026-08-02 12:27:06 +02:00
..