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/ml/anomaly_detection/custom_urls·ts - machine learning anomaly detection custom urls tests Discover type custom URL opens Discover page from test link in the edit job flyout #119273

Closed
kibanamachine opened this issue Nov 21, 2021 · 2 comments · Fixed by #119578
Assignees
Labels
failed-test A test failure on a tracked branch, potentially flaky-test :ml

Comments

@kibanamachine
Copy link
Contributor

A test failed on a tracked branch

Error: retry.tryForTime timeout: TimeoutError: The element [data-test-subj="discover-sidebar"] was still present when it should have disappeared.
Wait timed out after 2632ms
    at /opt/local-ssd/buildkite/builds/kb-n2-4-5bc41e9fa177c221/elastic/kibana-hourly/kibana/node_modules/selenium-webdriver/lib/webdriver.js:895:17
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at onFailure (/opt/local-ssd/buildkite/builds/kb-n2-4-5bc41e9fa177c221/elastic/kibana-hourly/kibana/test/common/services/retry/retry_for_success.ts:17:9)
    at retryForSuccess (/opt/local-ssd/buildkite/builds/kb-n2-4-5bc41e9fa177c221/elastic/kibana-hourly/kibana/test/common/services/retry/retry_for_success.ts:59:13)
    at RetryService.tryForTime (/opt/local-ssd/buildkite/builds/kb-n2-4-5bc41e9fa177c221/elastic/kibana-hourly/kibana/test/common/services/retry/retry.ts:22:12)
    at DiscoverPageObject.closeSidebar (/opt/local-ssd/buildkite/builds/kb-n2-4-5bc41e9fa177c221/elastic/kibana-hourly/kibana/test/functional/page_objects/discover_page.ts:324:5)
    at Object.assertDiscoverCustomUrlAction (test/functional/services/ml/custom_urls.ts:174:7)
    at MlJobTable.testDiscoverCustomUrlAction (test/functional/services/ml/job_table.ts:719:7)
    at Context.<anonymous> (test/functional/apps/ml/anomaly_detection/custom_urls.ts:154:9)
    at Object.apply (/opt/local-ssd/buildkite/builds/kb-n2-4-5bc41e9fa177c221/elastic/kibana-hourly/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)

First failure: CI Build - main

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Nov 21, 2021
@botelastic botelastic bot added the needs-team Issues missing a team label label Nov 21, 2021
@pheyos pheyos added the :ml label Nov 22, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Nov 22, 2021
@pheyos pheyos self-assigned this Nov 22, 2021
@pheyos
Copy link
Member

pheyos commented Nov 24, 2021

Failure screenshot:
image

The search query language popover block the button to close the side bar.
Not sure why this popover came up in the first place (we don't click that button during the test), but looking at the small screen resolution of the failure screenshot, I suspect that there was some kind of browser window resize during the click of the side-bar button. I'll work on a stability fix.

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 :ml
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants