fix: 优化报告未生成时的导出提示
This commit is contained in:
@@ -312,9 +312,13 @@ def test_report_pages_render_empty_state_when_report_missing():
|
||||
assert hotspot_response.status_code == 200
|
||||
assert "报告生成中,请稍候" in hotspot_response.text
|
||||
assert 'title="报告尚未生成"' in hotspot_response.text
|
||||
assert "Markdown 报告将在分析完成后开放下载" in hotspot_response.text
|
||||
assert "downloadExport('/api/export/hotspots/hot-no-report/comments.csv'" in hotspot_response.text
|
||||
assert item_response.status_code == 200
|
||||
assert "报告生成中,请稍候" in item_response.text
|
||||
assert 'title="报告尚未生成"' in item_response.text
|
||||
assert "Markdown 报告将在分析完成后开放下载" in item_response.text
|
||||
assert "downloadExport('/api/export/items/item-no-report/comments.csv'" in item_response.text
|
||||
|
||||
|
||||
def test_report_pages_warn_when_ai_sample_is_insufficient():
|
||||
|
||||
Reference in New Issue
Block a user