kibana/x-pack/examples
Jean-Louis Leysens 8b66ef161d
[Reporting] Baseline capture tests (#113910)
* added page to reporting example app that contains the capture tests

* first version of PNG capture for test A

* added types file to common

* added data-shared-item attr to image, also added capture menu items

* fix image CSS by providing a fixed width and height

* explicitly add layout for print, does not seem to do anything though?

* added magic numbers of image sizes

* added reporting examples test folder

* first version of capture test for generating and comparing PNGs

* added PNG service and PNG baseline fixture

* added pdf-to-img dev dependency

* refactor compare_pngs to accept a buffer

* added comment to interface

* png service -> compare images service

* export image compare service

* added test for pdf export

* clean up log

* minor fixes and added pdf print optimized test

* added pdf and pdf print fixtures

* refactor lib function name

* Update difference thresholds

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-21 14:59:07 +02:00
..
alerting_example [DX] Upgrade prettier to v2.4.0 (#112359) 2021-09-19 22:34:30 -07:00
embedded_lens_example [DX] Upgrade prettier to v2.4.0 (#112359) 2021-09-19 22:34:30 -07:00
exploratory_view_example [Exploratory View] Embedddable component (#113108) 2021-10-05 17:23:44 +02:00
reporting_example [Reporting] Baseline capture tests (#113910) 2021-10-21 14:59:07 +02:00
ui_actions_enhanced_examples [DX] Upgrade prettier to v2.4.0 (#112359) 2021-09-19 22:34:30 -07:00
README.md

Example plugins

This folder contains X-Pack example plugins. To run the plugins in this folder, use the --run-examples flag, via

yarn start --run-examples