superset/tests/dashboards
David Aaron Suddjian cc9103b0e2
feat(dashboard): API to get a dashboard's charts (#12978)
* feat(dashboard): get endpoint for a dashboard's charts

* temporary debugging fetch on the frontend

* attempted fixes

* singular -> plural derp

* plural -> singular derp derp

* docstring changes

* change return, no id

* move log above query

* add get_charts to include_route_methods /)_-)

* add get charts api

* result not response

* refactor test helper function to a mixin

* add test for new endpoint

* fix test when running in isolation

* correct comment

* rename test

* more tests, handle dashboard not found

* simplify test to use new helper function

* remove debugging code from frontend

* update docstring

* attempt a doc fix

* add id to api docs

* fix docs

* use pytest fixture

* why oh why does test order matter here, idk

* writing a schema for the endpoint

* more efficient fetching of charts

* testing tweaks

Co-authored-by: Phillip Kelley-Dotson <pkelleydotson@yahoo.com>
2021-02-15 11:41:59 -08:00
..
security feat(dashboard_rbac): dashboard_view access enforcement (#12875) 2021-02-04 13:23:53 -05:00
__init__.py [dashboard] Refactor API using SIP-35 (#9315) 2020-03-20 16:32:03 +00:00
api_tests.py feat(dashboard): API to get a dashboard's charts (#12978) 2021-02-15 11:41:59 -08:00
base_case.py feat(dashboard-rbac): dashboard lists (#12680) 2021-01-31 09:17:46 +02:00
commands_tests.py test: World bank examples (#12161) 2021-01-13 14:20:05 -08:00
consts.py feat(dashboard-rbac): dashboard lists (#12680) 2021-01-31 09:17:46 +02:00
dao_tests.py test: World bank examples (#12161) 2021-01-13 14:20:05 -08:00
dashboard_test_utils.py feat(dashboard-rbac): dashboard lists (#12680) 2021-01-31 09:17:46 +02:00
superset_factory_util.py feat(dashboard-rbac): dashboard lists (#12680) 2021-01-31 09:17:46 +02:00