Skip to content

Commit

Permalink
test-dash-preview: add DDK report_* as mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinerg committed Dec 17, 2019
1 parent 6e2b7d5 commit a78a100
Show file tree
Hide file tree
Showing 10 changed files with 71 additions and 13 deletions.
9 changes: 5 additions & 4 deletions test/dash-preview/mocks/5.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"url": "https://dash-demo.plotly.host/report-demo/report/report-1569522464-56c6?print=true",
"url": "https://dash-nightly.plotly.host/ddk-manufacture-spc-dashboard/snapshot-1569944213-f1e08e4a?print=true",
"timeout": "15",
"pdf_options": {
"pageSize": "Letter",
"marginsType": 1
}
"marginsType": 1,
"landscape": true
},
"pageSize": "A4"
}
9 changes: 0 additions & 9 deletions test/dash-preview/mocks/6.json

This file was deleted.

8 changes: 8 additions & 0 deletions test/dash-preview/mocks/report_alternating_footers.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"url": "https://dash-design-table-css-s-fuheoq.herokuapp.com/report_alternating_footers?print=true",
"timeout": "10",
"pdf_options": {
"pageSize": "Letter",
"marginsType": 1
}
}
9 changes: 9 additions & 0 deletions test/dash-preview/mocks/report_alternating_margins.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"url": "https://dash-design-table-css-s-fuheoq.herokuapp.com/report_alternating_margins?print=true",
"timeout": "10",
"pdf_options": {
"pageSize": "Legal",
"landscape": true,
"marginsType": 1
}
}
8 changes: 8 additions & 0 deletions test/dash-preview/mocks/report_defaults.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"url": "https://dash-design-table-css-s-fuheoq.herokuapp.com/report_defaults?print=true",
"timeout": "10",
"pdf_options": {
"pageSize": "Letter",
"marginsType": 1
}
}
8 changes: 8 additions & 0 deletions test/dash-preview/mocks/report_graph.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"url": "https://dash-design-table-css-s-fuheoq.herokuapp.com/report_graph?print=true",
"timeout": "10",
"pdf_options": {
"pageSize": "Letter",
"marginsType": 1
}
}
8 changes: 8 additions & 0 deletions test/dash-preview/mocks/report_graph_dimensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"url": "https://dash-design-table-css-s-fuheoq.herokuapp.com/report_graph_dimensions?print=true",
"timeout": "10",
"pdf_options": {
"pageSize": "Letter",
"marginsType": 1
}
}
8 changes: 8 additions & 0 deletions test/dash-preview/mocks/report_page_numbers.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"url": "https://dash-design-table-css-s-fuheoq.herokuapp.com/report_page_numbers?print=true",
"timeout": "10",
"pdf_options": {
"pageSize": "Letter",
"marginsType": 1
}
}
9 changes: 9 additions & 0 deletions test/dash-preview/mocks/report_page_numbers_margins.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"url": "https://dash-design-table-css-s-fuheoq.herokuapp.com/report_page_numbers_margins?print=true",
"timeout": "10",
"pdf_options": {
"pageSize": "A4",
"landscape": true,
"marginsType": 1
}
}
8 changes: 8 additions & 0 deletions test/dash-preview/mocks/report_table.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"url": "https://dash-design-table-css-s-fuheoq.herokuapp.com/report_table?print=true",
"timeout": "10",
"pdf_options": {
"pageSize": "Letter",
"marginsType": 1
}
}

0 comments on commit a78a100

Please sign in to comment.