-
Notifications
You must be signed in to change notification settings - Fork 13.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: make tabbed dashboard a little more complex #19966
Conversation
@@ -156,7 +156,6 @@ class ChartEntityResponseSchema(Schema): | |||
slice_name = fields.String(description=slice_name_description) | |||
cache_timeout = fields.Integer(description=cache_timeout_description) | |||
changed_on = fields.String(description=changed_on_description) | |||
modified = fields.String() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codecov Report
@@ Coverage Diff @@
## master #19966 +/- ##
===========================================
- Coverage 66.28% 54.35% -11.94%
===========================================
Files 1712 1713 +1
Lines 63968 64063 +95
Branches 6731 6734 +3
===========================================
- Hits 42404 34820 -7584
- Misses 19853 27532 +7679
Partials 1711 1711
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
cffe0c6
to
7880782
Compare
"id": "CHART-3nc0d8sk", | ||
"meta": {"chartId": 50, "height": 50, "sliceName": "Treemap", "width": 8}, | ||
"type": "CHART", | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bycatch: this is a duplicate slice where the chart component isn't really used in the layout.
21dba14
to
d65f67f
Compare
ef2a103
to
80a67a3
Compare
80a67a3
to
e7214f8
Compare
e7214f8
to
cea3fac
Compare
Postgres has a maximum of 63 characters per table name
@john-bodley I added an integration test for |
@@ -54,8 +54,7 @@ def load_examples_run( | |||
if load_test_data: | |||
print("Loading [Tabbed dashboard]") | |||
examples.load_tabbed_dashboard(only_metadata) | |||
|
|||
if not load_test_data: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ha!
SUMMARY
Update the test dashboard "Tabbed dashboard" to have more nested tabs so we can test more complex use cases.
Also updated the
update_slice_ids
function to use dict instead of sorted lists so that slices in position_json can be matched more correctly.BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Before
After
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION