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

clear query field value before setting value #142943

Merged
merged 7 commits into from
Oct 11, 2022

Conversation

ersin-erdal
Copy link
Contributor

@ersin-erdal ersin-erdal commented Oct 7, 2022

fixes: #126873

There are two consecutive test cases that are using es query input field and always the second test is flaky.

The first test case sets a query that has "}" in the input field.
But input.clearValue function in the second case fails to remove the all query characters from the filed, therefore the second test case ends up with an extra trailing "}" which makes the test button disabled.

i added an extra step to set input field value to empty string, then cleared the value.

flaky test runner results:
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1392#_

@ersin-erdal ersin-erdal added release_note:skip Skip the PR/issue when compiling release notes Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v8.6.0 labels Oct 7, 2022
@ersin-erdal ersin-erdal marked this pull request as ready for review October 10, 2022 10:51
@ersin-erdal ersin-erdal requested a review from a team as a code owner October 10, 2022 10:51
@elasticmachine
Copy link
Contributor

Pinging @elastic/response-ops (Team:ResponseOps)

Copy link
Contributor

@ymao1 ymao1 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@doakalexi doakalexi left a comment

Choose a reason for hiding this comment

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

LGTM!

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

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

@ersin-erdal ersin-erdal merged commit e552f3b into elastic:main Oct 11, 2022
@ersin-erdal ersin-erdal deleted the 126873-flaky-test branch October 11, 2022 12:54
@kibanamachine kibanamachine added the backport:skip This commit does not require backporting label Oct 11, 2022
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:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v8.6.0
Projects
None yet
6 participants