feat(dashboard): Add metadata bar to the header (#27857)

This commit is contained in:
JUST.in DO IT
2024-05-10 10:28:57 -07:00
committed by GitHub
parent 3a62eab163
commit 02478e5b95
5 changed files with 71 additions and 0 deletions

View File

@@ -423,11 +423,13 @@ class TestDashboardApi(ApiOwnersTestCaseMixin, InsertChartMixin, SupersetTestCas
data = json.loads(rv.data.decode("utf-8"))
self.assertIn("changed_on", data["result"])
self.assertIn("changed_on_delta_humanized", data["result"])
self.assertIn("created_on_delta_humanized", data["result"])
for key, value in data["result"].items():
# We can't assert timestamp values
if key not in (
"changed_on",
"changed_on_delta_humanized",
"created_on_delta_humanized",
):
self.assertEqual(value, expected_result[key])
# rollback changes