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 Observability UI Functional Tests.x-pack/test/observability_functional/apps/observability/pages/alerts/add_to_case·ts - ObservabilityApp Observability alerts / Add to case > When user has all privileges for cases opens a modal when Add to existing case is clicked #156312

Closed
kibanamachine opened this issue May 1, 2023 · 6 comments · Fixed by #156972 or #163155
Assignees
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team: Actionable Observability - DEPRECATED For Observability Alerting and SLOs use "Team:obs-ux-management", for AIops "Team:obs-knowledge"
Milestone

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented May 1, 2023

A test failed on a tracked branch

ElementClickInterceptedError: element click intercepted: Element <button class="euiButtonIcon euiButtonIcon--small css-o2mzw-euiButtonIcon-empty-text-hoverStyles" type="button" aria-label="More actions" data-test-subj="alertsTableRowActionMore" tabindex="-1" data-datagrid-interactable="true">...</button> is not clickable at point (357, 626). Other element would receive the click: <div data-euiportal="true" class="euiOverlayMask css-13fdnee-euiOverlayMask-belowHeader create-case-flyout-mask-overlay" data-relative-to-header="below">...</div>
  (Session info: chrome=112.0.5615.165)
    at Object.throwDecodedError (node_modules/selenium-webdriver/lib/error.js:524:15)
    at parseHttpResponse (node_modules/selenium-webdriver/lib/http.js:587:13)
    at Executor.execute (node_modules/selenium-webdriver/lib/http.js:515:28)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at Task.exec (prevent_parallel_calls.ts:28:20) {
  remoteStacktrace: '#0 0x564c39bb2fe3 <unknown>\n' +
    '#1 0x564c398f1d36 <unknown>\n' +
    '#2 0x564c39935aef <unknown>\n' +
    '#3 0x564c39933a31 <unknown>\n' +
    '#4 0x564c399312de <unknown>\n' +
    '#5 0x564c39930358 <unknown>\n' +
    '#6 0x564c399240c5 <unknown>\n' +
    '#7 0x564c3994f8c2 <unknown>\n' +
    '#8 0x564c39923943 <unknown>\n' +
    '#9 0x564c3994fa8e <unknown>\n' +
    '#10 0x564c39968232 <unknown>\n' +
    '#11 0x564c3994f693 <unknown>\n' +
    '#12 0x564c3992203a <unknown>\n' +
    '#13 0x564c3992317e <unknown>\n' +
    '#14 0x564c39b74dbd <unknown>\n' +
    '#15 0x564c39b78c6c <unknown>\n' +
    '#16 0x564c39b824b0 <unknown>\n' +
    '#17 0x564c39b79d63 <unknown>\n' +
    '#18 0x564c39b4cc35 <unknown>\n' +
    '#19 0x564c39b9d138 <unknown>\n' +
    '#20 0x564c39b9d2c7 <unknown>\n' +
    '#21 0x564c39bab093 <unknown>\n' +
    '#22 0x7fd5780a1609 start_thread\n'
}

First failure: CI Build - main

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label May 1, 2023
@botelastic botelastic bot added the needs-team Issues missing a team label label May 1, 2023
@jsanz jsanz added the Team: Actionable Observability - DEPRECATED For Observability Alerting and SLOs use "Team:obs-ux-management", for AIops "Team:obs-knowledge" label May 4, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/actionable-observability (Team: Actionable Observability)

@botelastic botelastic bot removed the needs-team Issues missing a team label label May 4, 2023
@CoenWarmer CoenWarmer self-assigned this May 8, 2023
@kibanamachine kibanamachine reopened this May 23, 2023
@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@dmlemeshko
Copy link
Member

image

This test failure seems to be legit: table is overlapped with create case flyout.
Wrapping with retry won't solve a problem but rather introduce a clicking loop, unless there is a condition to stop. Maybe it makes sense to adjust closing flyout:

  const closeFlyout = async () => {
    await testSubjects.click('euiFlyoutCloseButton'); // click close button
    await testSubjects.missingOrFail('euiFlyoutCloseButton'); // wait for flyout to be closed
  };

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

mistic added a commit that referenced this issue May 23, 2023
@mistic
Copy link
Member

mistic commented May 23, 2023

Skipped.

main: f10b88f

@emma-raffenne
Copy link
Contributor

emma-raffenne commented Jul 14, 2023

@elastic/actionable-observability
This is marked as a blocker for serverless, and we have been asked to look at it and do something about it. It's high priority.
@CoenWarmer did some work some time ago (see previous comments) but it was reopened.

@emma-raffenne emma-raffenne added this to the 8.10 milestone Aug 7, 2023
maryam-saeidi added a commit that referenced this issue Aug 10, 2023
Fixes #156312, fixes #156677, fixes #156928, fixes #156929, fixes
#156588

## Summary

Fixes the functional test based on @dmlemeshko 's suggestion.

Flaky test runner [50]:
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2776
Flaky test runner [200]:
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2804
Flaky test runner [200]:
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2843
--> After the last change related to redirect, failures in this test are
related to #163427

[DONE] ~~**[On hold]** Will merge it after investigating
#156588 to make sure all the
related issues are fixed for this function test.~~
kibanamachine pushed a commit that referenced this issue Aug 22, 2023
Fixes #156312, fixes #156677, fixes #156928, fixes #156929, fixes
#156588

## Summary

Fixes the functional test based on @dmlemeshko 's suggestion.

Flaky test runner [50]:
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2776
Flaky test runner [200]:
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2804
Flaky test runner [200]:
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2843
--> After the last change related to redirect, failures in this test are
related to #163427

[DONE] ~~**[On hold]** Will merge it after investigating
#156588 to make sure all the
related issues are fixed for this function test.~~

(cherry picked from commit b97059c)
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: Actionable Observability - DEPRECATED For Observability Alerting and SLOs use "Team:obs-ux-management", for AIops "Team:obs-knowledge"
Projects
None yet
9 participants