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

Failing test: Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/discover/saved_searches·ts - discover Discover Saved Searches Customize time range should be possible to customize time range for saved searches on dashboards #104578

Closed
kibanamachine opened this issue Jul 7, 2021 · 25 comments · Fixed by #113597, #165454, #176132 or #179972
Assignees
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Feature:Discover Discover Application impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. loe:small Small Level of Effort Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Jul 7, 2021

A test failed on a tracked branch

TimeoutError: Waiting for element to be located By(css selector, [data-document-number])
Wait timed out after 10012ms
    at /dev/shm/workspace/parallel/20/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5) {
  remoteStacktrace: ''
}

First failure: Jenkins Build

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Jul 7, 2021
@botelastic botelastic bot added the needs-team Issues missing a team label label Jul 7, 2021
@stratoula stratoula added Feature:Discover Discover Application Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Jul 7, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Jul 7, 2021
@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@timroes timroes added Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. and removed Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Aug 31, 2021
@kibanamachine
Copy link
Contributor Author

New failure: CI Build

@kibanamachine
Copy link
Contributor Author

New failure: CI Build

jbudz added a commit that referenced this issue Sep 26, 2021
jbudz added a commit that referenced this issue Sep 26, 2021
@jbudz
Copy link
Member

jbudz commented Sep 26, 2021

skipped

main: d27c723
7.x: 32add42

@timroes
Copy link
Contributor

timroes commented Sep 30, 2021

This is an interesting one. Looking at the failure screenshots, it always failed to apply the "from" date in the time picker. The "to" date always is the one applied via the test, but the "from" is not changed. This looks like a way more central error in the PageObjects.timePicker.setAbsoluteRange method, that shoulds theoretically be able to happen anywhere.

@LeeDr have you seen any other failures like this recently, where setting the timepicker does not apply both dates correctly?

@timroes
Copy link
Contributor

timroes commented Sep 30, 2021

I've created #113520 to track the root cause here.

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - master

@mistic
Copy link
Member

mistic commented Jan 31, 2024

Skipped.

main: b162020

kibanamachine referenced this issue Feb 7, 2024
# Backport

This will backport the following commits from `main` to `8.12`:
- [[Discover] Unskip custom time range test
(#176132)](#176132)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Julia
Rechkunova","email":"julia.rechkunova@elastic.co"},"sourceCommit":{"committedDate":"2024-02-07T17:57:50Z","message":"[Discover]
Unskip custom time range test (#176132)\n\n- Closes
https://github.com/elastic/kibana/issues/104578\r\n\r\n##
Summary\r\n\r\n50x\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5021\r\n50x\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5062\r\n50x\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5076\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"9999f3674bd03f2cf1b01888ac328020933b2088","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:DataDiscovery","backport:prev-minor","v8.13.0"],"title":"[Discover]
Unskip custom time range
test","number":176132,"url":"https://github.com/elastic/kibana/pull/176132","mergeCommit":{"message":"[Discover]
Unskip custom time range test (#176132)\n\n- Closes
https://github.com/elastic/kibana/issues/104578\r\n\r\n##
Summary\r\n\r\n50x\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5021\r\n50x\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5062\r\n50x\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5076\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"9999f3674bd03f2cf1b01888ac328020933b2088"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.13.0","branchLabelMappingKey":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/176132","number":176132,"mergeCommit":{"message":"[Discover]
Unskip custom time range test (#176132)\n\n- Closes
https://github.com/elastic/kibana/issues/104578\r\n\r\n##
Summary\r\n\r\n50x\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5021\r\n50x\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5062\r\n50x\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5076\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"9999f3674bd03f2cf1b01888ac328020933b2088"}}]}]
BACKPORT-->

Co-authored-by: Julia Rechkunova <julia.rechkunova@elastic.co>
CoenWarmer pushed a commit to CoenWarmer/kibana that referenced this issue Feb 15, 2024
fkanout pushed a commit to fkanout/kibana that referenced this issue Mar 4, 2024
@kibanamachine kibanamachine reopened this Mar 28, 2024
@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

kibanamachine referenced this issue Apr 5, 2024
)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[Discover] Fix dashboard time range flaky test
(#179972)](#179972)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Julia
Rechkunova","email":"julia.rechkunova@elastic.co"},"sourceCommit":{"committedDate":"2024-04-05T07:07:16Z","message":"[Discover]
Fix dashboard time range flaky test (#179972)\n\n- Closes
https://github.com/elastic/kibana/issues/104578\r\n\r\n99x\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5610","sha":"63d51024d382518826dc67c875cff4ae6432d3ad","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:DataDiscovery","backport:prev-minor","v8.14.0"],"title":"[Discover]
Fix dashboard time range flaky
test","number":179972,"url":"https://github.com/elastic/kibana/pull/179972","mergeCommit":{"message":"[Discover]
Fix dashboard time range flaky test (#179972)\n\n- Closes
https://github.com/elastic/kibana/issues/104578\r\n\r\n99x\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5610","sha":"63d51024d382518826dc67c875cff4ae6432d3ad"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/179972","number":179972,"mergeCommit":{"message":"[Discover]
Fix dashboard time range flaky test (#179972)\n\n- Closes
https://github.com/elastic/kibana/issues/104578\r\n\r\n99x\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5610","sha":"63d51024d382518826dc67c875cff4ae6432d3ad"}}]}]
BACKPORT-->

Co-authored-by: Julia Rechkunova <julia.rechkunova@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Feature:Discover Discover Application impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. loe:small Small Level of Effort Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.
Projects
None yet
9 participants