* Only allowing either base or feature privileges
* Get roles route return transform error if base and feature privileges
* Treating [] and {} as undefined
* Updating the role api integration tests
* [Maps] only show fields that can be used in terms agg in join right field select
* move filter to JoinExpression to avoid filtering metric fields
* use same filter on ES fields for left and right join fields
* docs: Add test file location -> test runner table
* Use scripts/mocha instead of if yarn test:mocha and clarify arguments
* docs: add some examples of running tests suites with grep patterns
* Split out x-pack testing docs, add test runner column
* Split out x-pack testing docs, add test runner column #2
* Use node scripts for jest and split functional runner/server
Fixes https://github.com/elastic/kibana/issues/35129
We've seen a single timeout in the reporting tests, and since it uses setTimeout I assume it's just getting a little delayed. Hoping that switching from a 2sec to 10sec timeout should solve this. These tests should be gone soon anyway once we move to the task manager for reporting job management.
Fixes https://github.com/elastic/kibana/issues/35293
In very rare cases, `chance.word()` can return the same word for two invocations, which is likely what caused the failures described in the issue. In order to prevent this we keep a local cache of the words generated and regenerate when the word has already been seen.
* Add new graphql endpoint for snapshot data
* Polishing.
* Keep type generic that is used outside snapshots
* Keep one more generic type generic
* Use camelCase for consistency.
* Refine type names
* Add return types.
* Use idiomatic javascript.
* Factor out getAllCompositeAggregationData<T>()
* Refine naming.
* More idiomatic JavaScript, more types.
* Rename 'disabled' aggParam config prop to 'shouldShow'
* Move `shouldShow` function from drop_partials.tsx to agg config
* Write include/exclude model only if the type is string
* Move conditional rendering to the generic AggParamReactWrapper; reset model value for hidden controls everytime user switch a field/agg
* Update unit tests
* Set exclude/include to state if they are displayed only
* Update unit tests
* Uses Node API's instead of unix commands for Windows support.
* Renames `canvasStorybookDLL` to `canvas_storybook_dll`
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
* adding data_frame autocomplete rules to dev console
* adding body rules for preview
* adding correct aggs for group by for data_frame
* fixing source and destination autocomplete rules
* [esArchiver] refresh all, stop being too clever
* wait for save notification before ending tests
I have a hunch that Timelion/Kibana are still mucking with the .kibana index when the test ends, and the `esArchiver.unload()` call is conflicting because of those modifications being still in progress.
* Initial logic and tests for this
* Improve test
* Some cleanup and adding api integration tests
* Add comments
* Account for no documents returned
* Add detection logic and tests
* Ensure these fields are optional
* Update detection logic
* Beats, logstash and apm can only possibly exist
* Fix some issues with APM
* Fix tests
* Small updates based on needing to also include the filebeat index
* Fix issue with the reduce
* PR feedback
* More PR feedback
* Add additional tests
* Add additional tests
## Summary
- Updates the Spaces API documentation to reflect new "disabledFeatures" property
- Introduces Features API documentation to assist the Spaces API docs
Related: https://github.com/elastic/kibana/issues/31053
* [dev/build] fix missing flag checks
With the upgrade to the new version of getopts, boolean flags are now defaulting to `false`, which prevents the `undefined` checks in place for the `--rpm`, `--deb`, `--docker` flags. Or order to ensure that they can be checked for existence we can default the flags to `null`, which gives these "boolean" flags a third possible state, only possible when the flags are not specified from the command line.
* [dev/build] break out args processing and test
* reindent help text
* always return unknownFlags