* Export EuiCodeEditor from es_ui_shared and consume it in Grok Debugger. Remove warning from EuiCodeEditor.
* Lazy-load code editor so it doesn't bloat the EsUiShared plugin bundle.
* Refactor mocks into a shared jest_mock.tsx file.
* Wip
* Things are more broken, but closer to the end goal
* Get patch request working
* Update event type
* Other two toggles
* Force sync button
* Remove force sync button for now
* Disable the checkbox when globally disabled and introduce click to save
* Wip tests
* One test down
* Test for skipping name alert
* Linter
* Fix undefined check
* Prettier
* Apply suggestions from code review
Co-authored-by: Scotty Bollinger <scotty.bollinger@elastic.co>
* Refactor some structures into interfaces
* UI tweaks
Co-authored-by: Scotty Bollinger <scotty.bollinger@elastic.co>
- Re-enable display of Pending isolation status on the UI along with a experimental feature flag to be able to turn it back off
- Improves the logic around determining if an isolation action has actually been processed by the Endpoint by looking for an endpoint metadata update whose `event.created` timestamp is more recent than the timestamp on the isolation Action Response. The goal is to minimize/avoid the UX around isolation where a user might not see the result from the Endpoint (isolated or released) after having seen the pending status on the UI.
- Add some protective code around our server side license watcher so that failures are not bubbled up and instead are logged to the kibana logs
- Added new `findHostMetadataForFleetAgents()` method to the `EndpointMetadataService`
- Added test mocks for `EndpointMetadataService` and tests for new method
## Summary
Reduces flake by changing out a Cypress pipe for a `cy.wait`. This UI element does unusual things that make it unfit for Cypress pipe such as multiple clicks against it will cause the component to have a dialog appear and disappear with transition effects which can make pipe not able to click once when the click handler is present.
### Checklist
- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
* Adding host_risk_score_latest to the list of patterns to track for telemetry
* Adding a test
* Removing extra spaces at end of line- should make the linter happy
- Makes use of ChartContainer to improve the loading behavior of the log log chart to include a loading indicator.
- Improves y axis ticks for the log log chart. Will set the max y domain to the next rounded value with one more digit, for example, if the max y value is 4567, the y domain will be extended to 10000 and 10000 being the top tick. This makes sure we'll always have a top tick, fixes a bug where with low number <10 we'd end up with just a low 1 tick.
- Improves x axis ticks to support different time units.
* Link to add data/beats tutorials when there are no integrations found
* Address PR feedback + fox i18n
* Update integrations page subtitle
Co-authored-by: Kyle Pollich <kpollich1@gmail.com>
* Log the failing request and response code when an action throws a response error
* Provide useful log message when migrations fail due to ES 413 Request Entity Too Large
* Don't log request body for unexpected ES request failures
* Fix types
* CR feedback: fix order of ES request debug log
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Split function to load endpoint details using parameters
* Add action to load endpoint details
* Moving all the endpoint details content to a separate component
* Rename endpoint details to endpoint details content
* Rename temporal file into EndpointDetails
* Remove unused dispatch
* Refactor ingestPolicies dispatching in the middleware
* First session of copy passes. More to come.
* Setup guide copy changes
* can not → cannot
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Set up tsconfigs
- Required if we're going to have several different Cypress suites (one for each plugin/product essentially) in order for global cy.() commands and it()/describe() to register as expected
@see https://docs.cypress.io/guides/tooling/typescript-support#Clashing-types-with-Jest
* Set up shared commands and routes
NOTE: Unlike ent-search, shared/ will *not* have its own set of tests - rather, shared/cypress is a resource/set of helpers for other test suites to extend/import/etc.
* Create basic Enterprise Search Overview E2E tests
- For happy path testing, we _likely_ shouldn't need more than these tests going forward
- If we ever want to add an error connecting test however, this is likely where it should go (or alternatively, use Kibana's FTR with Enterprise Search host set but not spun up)
* Set up App Search Cypress test scaffolding
- placeholder/hello world test only
* Set up Workplace Search Cypress test scaffolding
- placeholder/hello world test only
* Add helper script and update README
* Add config setup & documentation for potentially running Cypress against Kibana functional server
* PR feedback: Remove unnecessary return true