kibana/test/plugin_functional/test_suites
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
..
application_links
core [Deprecations service] add deprecationType and use it in configs deprecations (#100983) (#101039) 2021-06-01 09:05:09 -04:00
core_plugins Reducing wrapping divs from RenderingService (#97017) (#98377) 2021-04-26 18:10:14 -04:00
custom_visualizations Revert "[7.x] [FTR][CI] Use default distribution for all tests (#94968) (#99980)" 2021-05-28 17:21:51 -07:00
data_plugin Revert "[7.x] [FTR][CI] Use default distribution for all tests (#94968) (#99980)" 2021-05-28 17:21:51 -07:00
doc_views Revert "[7.x] [FTR][CI] Use default distribution for all tests (#94968) (#99980)" 2021-05-28 17:21:51 -07:00
management
panel_actions Revert "[7.x] [FTR][CI] Use default distribution for all tests (#94968) (#99980)" 2021-05-28 17:21:51 -07:00
saved_objects_hidden_type Revert "[7.x] [FTR][CI] Use default distribution for all tests (#94968) (#99980)" 2021-05-28 17:21:51 -07:00
saved_objects_management Revert "[7.x] [FTR][CI] Use default distribution for all tests (#94968) (#99980)" 2021-05-28 17:21:51 -07:00
telemetry [Reporting/Telemetry] Do not send telemetry if we are in screenshot mode (#100388) (#101076) 2021-06-01 15:27:05 -04:00
usage_collection