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 UI Functional Tests.test/functional/apps/visualize/group5/_tsvb_time_series·ts - visualize app visual builder Time Series basics Clicking on the chart should create a filter for series with multiple split by terms fields one of which has formatting #139114

Closed
kibanamachine opened this issue Aug 18, 2022 · 15 comments · Fixed by #139162 or #143373
Assignees
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Aug 18, 2022

A test failed on a tracked branch

StaleElementReferenceError: stale element reference: element is not attached to the page document
  (Session info: headless chrome=102.0.5005.115)
    at Object.throwDecodedError (node_modules/selenium-webdriver/lib/error.js:522:15)
    at parseHttpResponse (node_modules/selenium-webdriver/lib/http.js:589:13)
    at Executor.execute (node_modules/selenium-webdriver/lib/http.js:514:28)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at Task.exec (test/functional/services/remote/prevent_parallel_calls.ts:28:20) {
  remoteStacktrace: '#0 0x55904b0a4f33 <unknown>\n' +
    '#1 0x55904adef118 <unknown>\n' +
    '#2 0x55904adf1f97 <unknown>\n' +
    '#3 0x55904adf1e3b <unknown>\n' +
    '#4 0x55904adf20fc <unknown>\n' +
    '#5 0x55904ae1fcde <unknown>\n' +
    '#6 0x55904ae42f72 <unknown>\n' +
    '#7 0x55904ae19e73 <unknown>\n' +
    '#8 0x55904ae4307e <unknown>\n' +
    '#9 0x55904ae562e4 <unknown>\n' +
    '#10 0x55904ae42e63 <unknown>\n' +
    '#11 0x55904ae1882a <unknown>\n' +
    '#12 0x55904ae19985 <unknown>\n' +
    '#13 0x55904b0e94cd <unknown>\n' +
    '#14 0x55904b0ed5ec <unknown>\n' +
    '#15 0x55904b0d371e <unknown>\n' +
    '#16 0x55904b0ee238 <unknown>\n' +
    '#17 0x55904b0c8870 <unknown>\n' +
    '#18 0x55904b10a608 <unknown>\n' +
    '#19 0x55904b10a788 <unknown>\n' +
    '#20 0x55904b124f1d <unknown>\n' +
    '#21 0x7f880cc8b609 <unknown>\n'
}

First failure: CI Build - main

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Aug 18, 2022
@botelastic botelastic bot added the needs-team Issues missing a team label label Aug 18, 2022
@kibanamachine kibanamachine added the Team:Visualizations Visualization editors, elastic-charts and infrastructure label Aug 18, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-vis-editors @elastic/kibana-vis-editors-external (Team:VisEditors)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Aug 18, 2022
@flash1293
Copy link
Contributor

Like #139096 and #139040 this seems to be caused by losing an element reference between fetching the elements and checking their contents:

const filters = await this.testSubjects.findAll('~filter');

Not sure why this suddenly started happening, maybe it's re-rendering between these two parts. Might wait for loading to settle before fetching the filter labels.

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@flash1293
Copy link
Contributor

Same test, but a different thing that fails - this time it's the adding the second field that doesn't work:

await visualBuilder.setMetricsGroupByTerms('bytes');

I think it's because adding the first field makes TSVB reload which removes the element the setAnotherGroupByTermsField call was just about to click on - waiting for stabilization between the two should help

@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
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
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
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 8.12

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 Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
4 participants