Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Investigations] - Fix search_filter tests #173325

Merged
merged 3 commits into from
Dec 18, 2023

Conversation

michaelolo24
Copy link
Contributor

@michaelolo24 michaelolo24 commented Dec 13, 2023

Background:

There were originally issues about interacting with the editor that prevented the editor from properly being updated, which were fixed here in the addDiscoverEsqlQuery fn. The original issues below identified were due to a login timeout and the query not properly updating on cy.back. As we do not own the underlying component and behavior, I suspect that specific issue was resolved in the discover component, but investigating and running the flaky test runner to confirm.

This fixes the following tests:

Flaky Test Run - Running

@michaelolo24 michaelolo24 added release_note:skip Skip the PR/issue when compiling release notes Team:Threat Hunting:Investigations Security Solution Investigations Team labels Dec 13, 2023
@michaelolo24 michaelolo24 marked this pull request as ready for review December 13, 2023 20:09
@michaelolo24 michaelolo24 requested a review from a team as a code owner December 13, 2023 20:09
@@ -64,7 +64,7 @@ export const addDiscoverEsqlQuery = (esqlQuery: string) => {
cy.get(GET_LOCAL_SEARCH_BAR_SUBMIT_BUTTON(DISCOVER_CONTAINER)).realClick();
};

export const convertNBSPToSP = (str: string) => {
export const convertEditorNonBreakingSpaceToSpace = (str: string) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏

Copy link
Contributor

@janmonschke janmonschke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing these!

Copy link
Contributor

@PhilippeOberti PhilippeOberti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

left a couple of notes, let me know what you think

@michaelolo24 michaelolo24 force-pushed the fix-search-filter-tests branch from fee8f4c to bc75491 Compare December 18, 2023 17:39
@michaelolo24
Copy link
Contributor Author

@elasticmachine merge upstream

@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Metrics [docs]

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:Threat Hunting:Investigations Security Solution Investigations Team v8.13.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants