kibana/src
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
..
cli [cli/serve/integrationTests] log stdout from process when parsing fails (#98699) (#98817) 2021-04-29 17:01:13 -04:00
cli_encryption_keys
cli_keystore [cli/keystore] Transpile sources in dev (#97501) (#97933) 2021-04-21 20:41:38 -04:00
cli_plugin
core Upgrade EUI to v33.0.0 (#99382) (#101067) 2021-06-01 13:56:37 -04:00
dev [docker] Set server.shutdownTimeout to match default docker stop timeout (#100494) 2021-06-01 11:28:00 -05:00
docs
fixtures/telemetry_collectors [API DOCS] Usage Collection (#98656) (#99186) 2021-05-04 09:42:47 -04:00
plugins [Reporting/Telemetry] Do not send telemetry if we are in screenshot mode (#100388) (#101076) 2021-06-01 15:27:05 -04:00
setup_node_env Ban use of lodash.template (#100277) (#100332) 2021-05-21 18:39:20 +00:00