fix(frontend): 讓價格圖表按鈕直接開啟歷史走勢
All checks were successful
CD Pipeline / deploy (push) Successful in 1m44s
All checks were successful
CD Pipeline / deploy (push) Successful in 1m44s
This commit is contained in:
@@ -67,6 +67,7 @@ def test_dashboard_v2_restores_real_price_history_chart():
|
||||
assert 'id="priceChart"' in dashboard
|
||||
assert "data-product-id=\"{{ product.id }}\"" in dashboard
|
||||
assert "data-history-trigger" in dashboard
|
||||
assert "onclick=\"event.stopPropagation(); showHistory(this.dataset.productId, this.dataset.productName);\"" in dashboard
|
||||
assert "fetch(`/api/history/${productId}`)" in dashboard
|
||||
assert "priceChartInstance = new Chart" in dashboard
|
||||
assert "目前沒有可顯示的歷史價格紀錄" in dashboard
|
||||
|
||||
Reference in New Issue
Block a user