-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test code for visual regression testing of PDF
- Loading branch information
Showing
4 changed files
with
44 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1816,4 +1816,4 @@ | |
"zod-to-json-schema": "^3.23.0" | ||
}, | ||
"packageManager": "[email protected]" | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
x-pack/test/functional/apps/dashboard/group3/reporting/reports/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
## `reporting/reports` folder | ||
|
||
`x-pack/test/functional/apps/dashboard/group?/reporting/reports/__snapshots__`: this folder contains snapshots | ||
(PNG files) used for PDF visual regression testing. In the testing library we use, "pdf-visual-diff", it is | ||
necessary to convert PDF files to PNG, and compare the result to the snapshots located in this folder. | ||
|
||
`x-pack/test/functional/apps/dashboard/group?/reporting/reports/baseline`: this folder contains the snapshots | ||
for PNG regression testing via "pngjs" |
Binary file added
BIN
+1.63 MB
...s/dashboard/group3/reporting/reports/__snapshots__/sample_data_ecommerce_76.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters