* [Search Source] Exclude metafields from fields request
* Fix unit test
* Adding additional unit test
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Update Puppeteer to 8.0.0
Updates Chromium to r856583
Links to new build of Linux headless_shell in the Kibana team GCS bucket
Links to main download site of Chromium for Mac and Windows
Removes Mac and Windows compatibility from the Chromium build scripts
* add functional tests for large dashboard
* ensure png comparison is working
* add test for large dashboard pdf
* update arm64 binary checksum
* update README
* more readme update
* Update x-pack/build_chromium/README.md
Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
* [ML] Fixing route handler types and schemas
* commenting out type error
* updates to fix functional tests
* updating jest test
* updating test expect
* fixing tests
* fixing test expect
* changes based on review
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* inline getRow, remove deep merge
* make sure uiSettings.getAll returns immutable result
* update docs
* Revert "update docs"
This reverts commit a6c9bb33ed.
* use freeze to speed up the process
* apply Alejanro suggestion
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Move toolTip type to shared
This is used by Workplace Search as well
* Remove reset mappings button
Will not be used as a part of the User transition
* Remove server route
* Remove unused import
* Remove unused translations
* Force text wrapping in README content
Long paragraph tags weren't wrapping, which allowed the README section
of the integration details screen to expand past its normal width and
break other parts of the layout.
Closes#99087
* Use EUI class instead of inline style
* Added test for setting common fields. All except the if field as it uses monaco text editor. Reaching out for help with this issue.
* Added assertion for the code editor.
* Added await to fix promise rejection.
* Added mockCodeEditor data test subject to correct file.
* Removed unneeded comment.
* Split out common processors test and fixed nits in PR feedback.
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* adds investigate in timeline test for indicator match generated alerts
* refactor
* removes duplicated line
* refactor
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Added test to verify the UI changes for hiding the app.
* Running tests on repeat.
* Tests passed. Removing only clause to allow full suite to run.
* Skipping firefox.
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Makes width 100% to allow multilang
* Removes state/index types and move those types into the parent types file
* Allows fill form from existing exception by id. Adds unit tests. Fixes wrong comments display when there is more than one comment.
* Allows user update an existing event filter. Adds unit tests. Fixes some wrong behaviours when opening the flyout after create/update action
* Fixes typo
* Fixes wrong entry type
* Uses selectors when it's possible instead of accessing directly to state object
* Fixes typechecks
* Allows edit from the card edit button. Removes unused imports and fixes some types
* Reverts type name
* Changes reducer to don't add entry to the list manually after creation, list will be reloaded with api call. Also check always if data exists to display the add new entry button at the first time
* Move toolTip type to shared
This is used by Workplace Search as well
* Remove reset mappings button
Will not be used as a part of the User transition
* Remove server route
* Remove unused import
* [TSVB] Removal of validation schema
* Move types to a separate folder and rename some of them
* Remove nulls from types and move enums to a separate folder
* Rename common to panel_model
* Remove nulls from optional color_rules types, replace QueryObject with Query type from data plugin and remove empty strings from some types and corresponding default values
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Update no results content for integrations
- Update content when no results returned from search on integrations
screen
- Add links to custom integrations and discuss forums to bottom of
results grid, even when results are returned
Closes#87015
* Don't show missing integration message for installed integrations
* Remove unneeded history.push
## Summary
This should fix the flakes by adding the ability to do refreshes when timelines aren't being shown.
* Fixes the missing data subjects and tests in our code base
* Fixes the flakes in each of the tests we were seeing
* Cleans up some of the .then() and additional checks we were using
* Returns more chainables from Cypress so we can use more then() logic to keep things cleaner
* Removes 1 dead duplicated function found
You can replicate the flake by adding this code below in any before code of this pull request. This is how I was able to replicate it and then fix it within the utils.
```ts
export const waitForTimelinesPanelToBeLoaded = (): Cypress.Chainable<JQuery<HTMLElement>> => {
cy.get(TIMELINES_TABLE).should('exist');
cy.wait(5000); // <--- Do a wait for 5 seconds to ensure the table is fully loaded with zero hits to replicate the flake this fixees
return cy.get(TIMELINES_TABLE).should('exist');
};
```
A secondary issue is that when you do fast refreshes the click handlers are not on the timelines in the timeline table. However, we cannot do fast pipe/re-clicking on those because that causes a different type of flake. The flake that can cause is multiple clicks are registered and then we end up with multiple URL/route reloads.
So instead, we have to unfortunately rely on one `cy.wait(1000)` Cypress wait of 1 second.
### 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
* [Rollup] Fix telemetry and also add lens visualizations
* Different lens stats for rollup visualizations
* Add unit test
* Implement pagination
* Fix telemetry schema
* Fix test
* Add unit tests
* Change docs per page size to 1000
* Add meta description for our rollup telemetry
* Fix telemetry schema
* Fix unit test
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [sec/actions] move constants to a separate file to avoid circular deps
* split out setupSavedObjects import
* remove unused import
Co-authored-by: spalger <spalger@users.noreply.github.com>
* Escapes special chars and backslashes and colons. Updates test.
* Uses regexp to escape all non alphanumeric chars
* Skips whitespaces
* Skips slashes
* Fixes regex and adds more test cases
* [Discover] migrate remaining context files from js to ts
* [Discover] get rid of any types
* [Discover] replace constants with enums, update imports
* [Discover] use unknown instead of any, correct types
* [Discover] skip any type for tests
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>