kibana/test/plugin_functional/plugins
Jean-Louis Leysens 09129c8e38
[Reporting/Telemetry] Do not send telemetry if we are in screenshot mode (#100388) (#101076)
* do not send telemetry if isScreenshotMode

* Implement PR feedback:

* added another Jest test
* move Boolean() to make the opt-in value always boolean

* remove unused import and convert to import type

* fix type issues

* update jest snapshot

* Expanded test coverage

- added plugin functional test
- added jest test to check TelemetrySender behaviour
- exported the localStorage/window value that flags screenshot
  mode

* fix test plugin name in package.json and make sure to opt out of telemetry when the test finishes

* added missing type file to plugin_functional test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	src/plugins/telemetry/kibana.json
2021-06-01 15:27:05 -04:00
..
app_link_test
core_app_status
core_history_block
core_http add FTR test for aborted requests error name (#97086) (#97484) 2021-04-19 13:56:22 -04:00
core_plugin_a
core_plugin_appleave
core_plugin_b
core_plugin_chromeless
core_plugin_deprecations [Deprecations service] add deprecationType and use it in configs deprecations (#100983) (#101039) 2021-06-01 09:05:09 -04:00
core_plugin_helpmenu
core_plugin_route_timeouts
core_plugin_static_assets
core_provider_plugin add FTR test for aborted requests error name (#97086) (#97484) 2021-04-19 13:56:22 -04:00
data_search
doc_views_plugin
elasticsearch_client_plugin
index_patterns
kbn_sample_panel_action
kbn_top_nav
kbn_tp_custom_visualizations
management_test_plugin
rendering_plugin
saved_object_export_transforms [7.x] SOM: hide actions for hidden types (#98290) (#98568) 2021-04-28 05:36:17 -04:00
saved_object_import_warnings
saved_objects_hidden_type
session_notifications
telemetry [Reporting/Telemetry] Do not send telemetry if we are in screenshot mode (#100388) (#101076) 2021-06-01 15:27:05 -04:00
ui_settings_plugin
usage_collection