Add unit tests for panels (dashlist)
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
779abee654
commit
a04d18ce31
27
tests/schema/fixtures/dashboard-0003.json
Normal file
27
tests/schema/fixtures/dashboard-0003.json
Normal file
@ -0,0 +1,27 @@
|
||||
{
|
||||
"dashboard": {
|
||||
"rows": [
|
||||
{
|
||||
"collapse": false,
|
||||
"editable": true,
|
||||
"height": "250px",
|
||||
"panels": [
|
||||
{
|
||||
"editable": true,
|
||||
"error": false,
|
||||
"limit": 10,
|
||||
"mode": "starred",
|
||||
"query": "",
|
||||
"span": 12,
|
||||
"tag": "",
|
||||
"title": "Starred Dashboards",
|
||||
"type": "dashlist"
|
||||
}
|
||||
],
|
||||
"showTitle": false,
|
||||
"title": "New row"
|
||||
}
|
||||
],
|
||||
"title": "New dashboard"
|
||||
}
|
||||
}
|
9
tests/schema/fixtures/dashboard-0003.yaml
Normal file
9
tests/schema/fixtures/dashboard-0003.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
dashboard:
|
||||
title: New dashboard
|
||||
rows:
|
||||
- title: New row
|
||||
height: 250px
|
||||
panels:
|
||||
- title: Starred Dashboards
|
||||
type: dashlist
|
||||
mode: starred
|
Loading…
Reference in New Issue
Block a user