Add unit tests for Text Row
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
a04d18ce31
commit
2634277625
25
tests/schema/fixtures/dashboard-0004.json
Normal file
25
tests/schema/fixtures/dashboard-0004.json
Normal file
@ -0,0 +1,25 @@
|
||||
{
|
||||
"dashboard": {
|
||||
"rows": [
|
||||
{
|
||||
"collapse": false,
|
||||
"editable": true,
|
||||
"height": "250px",
|
||||
"panels": [
|
||||
{
|
||||
"content": "Some example text is required.",
|
||||
"editable": true,
|
||||
"error": false,
|
||||
"mode": "markdown",
|
||||
"span": 12,
|
||||
"title": "no title (click here)",
|
||||
"type": "text"
|
||||
}
|
||||
],
|
||||
"showTitle": false,
|
||||
"title": "New row"
|
||||
}
|
||||
],
|
||||
"title": "New dashboard"
|
||||
}
|
||||
}
|
10
tests/schema/fixtures/dashboard-0004.yaml
Normal file
10
tests/schema/fixtures/dashboard-0004.yaml
Normal file
@ -0,0 +1,10 @@
|
||||
dashboard:
|
||||
title: New dashboard
|
||||
rows:
|
||||
- title: New row
|
||||
height: 250px
|
||||
panels:
|
||||
- title: no title (click here)
|
||||
type: text
|
||||
mode: markdown
|
||||
content: Some example text is required.
|
Loading…
x
Reference in New Issue
Block a user