fix(analytics): label report sections with active period
Some checks failed
CD Pipeline / deploy (push) Has been cancelled
Some checks failed
CD Pipeline / deploy (push) Has been cancelled
This commit is contained in:
@@ -301,6 +301,8 @@ def test_sales_frontend_uses_live_period_linked_api_routes():
|
||||
assert "columns," in script
|
||||
assert 'data-field="product_id"' in template
|
||||
assert 'data-field="amount"' in template
|
||||
assert "每週業績趨勢({{ analysis_period.label }})" in template
|
||||
assert "全年度" not in template
|
||||
assert "fetch(`/api/yoy?" not in script
|
||||
assert "'/api/sales_table?'" not in script
|
||||
|
||||
|
||||
Reference in New Issue
Block a user