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

[unskip-test] Add scroll into view to avoid tooltip overlap #47106

Merged

Conversation

markov00
Copy link
Member

@markov00 markov00 commented Oct 2, 2019

Summary

The current angular implementation of the tooltip, applied to the Apply button of the visualize editor, suffer from missing the mouseleave event in some cases. This cause the tooltip to remain open in some cases halting the test from clicking the underlying button.
The tooltip implementation will be soon replaced by EUI #38272, so on this PR we are only unskipping the test and scrolling the visualize editor sidebar to avoid this overlap.

fix #45105

Oct-02-2019 12-29-18

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

For maintainers

The current angular implementation of the tooltip, applied to the Apply button of the visualize editor, suffer from missing the mouseleave event in some cases. This cause the tooltip to remain open in some cases halting the test from clicking the underlying button.
The tooltip implementation will be soon replaced by EUI, so on this PR we are only unskipping the test and scrolling the visualize editor sidebar to avoid this overlap.
@markov00 markov00 added v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.5.0 test-matrix Use this label to ensure PRs are tested with matrix jobs labels Oct 2, 2019
@markov00 markov00 changed the title Add scroll into view to avoid tooltip overlap [unskip-test] Add scroll into view to avoid tooltip overlap Oct 2, 2019
@elasticmachine
Copy link
Contributor

💔 Build Failed

@markov00
Copy link
Member Author

markov00 commented Oct 2, 2019

code search error on smoke test

1) Code
       Search
         Code Search
           "before all" hook for "Trigger symbols in typeahead":
     NoSuchSessionError: Tried to run command without establishing a connection
      at Object.throwDecodedError (/var/lib/jenkins/workspace/elastic+kibana+pull-request/JOB/x-pack-firefoxSmoke/node/linux-immutable/kibana/node_modules/selenium-webdriver/lib/error.js:550:15)
      at parseHttpResponse (/var/lib/jenkins/workspace/elastic+kibana+pull-request/JOB/x-pack-firefoxSmoke/node/linux-immutable/kibana/node_modules/selenium-webdriver/lib/http.js:560:13)
      at Executor.execute (/var/lib/jenkins/workspace/elastic+kibana+pull-request/JOB/x-pack-firefoxSmoke/node/linux-immutable/kibana/node_modules/selenium-webdriver/lib/http.js:486:26)
      at process._tickCallback (internal/process/next_tick.js:68:7)

               └- ✖ fail: "Code Search Code Search "before all" hook for "Trigger symbols in typeahead""
               │
               └-> "after all" hook
                 │ERROR SCREENSHOT FAILED
                 │ERROR NoSuchSessionError: Tried to run command without establishing a connection
                 │          at Object.throwDecodedError (/var/lib/jenkins/workspace/elastic+kibana+pull-request/JOB/x-pack-firefoxSmoke/node/linux-immutable/kibana/node_modules/selenium-webdriver/lib/error.js:550:15)
                 │          at parseHttpResponse (/var/lib/jenkins/workspace/elastic+kibana+pull-request/JOB/x-pack-firefoxSmoke/node/linux-immutable/kibana/node_modules/selenium-webdriver/lib/http.js:560:13)
                 │          at Executor.execute (/var/lib/jenkins/workspace/elastic+kibana+pull-request/JOB/x-pack-firefoxSmoke/node/linux-immutable/kibana/node_modules/selenium-webdriver/lib/http.js:486:26)
                 │          at process._tickCallback (internal/process/next_tick.js:68:7)

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Copy link
Contributor

@bhavyarm bhavyarm left a comment

Choose a reason for hiding this comment

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

LGTM. But @dmlemeshko is going to run it multiple times

Copy link
Member

@dmlemeshko dmlemeshko left a comment

Choose a reason for hiding this comment

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

LGTM. Passed on CI 30x times

@markov00 markov00 merged commit 802cd33 into elastic:master Oct 3, 2019
markov00 added a commit to markov00/kibana that referenced this pull request Oct 3, 2019
The current angular implementation of the tooltip, applied to the Apply button of the visualize editor, suffer from missing the mouseleave event in some cases. This cause the tooltip to remain open in some cases halting the test from clicking the underlying button.
The tooltip implementation will be soon replaced by EUI, so on this PR we are only unskipping the test and scrolling the visualize editor sidebar to avoid this overlap.
jloleysens added a commit to jloleysens/kibana that referenced this pull request Oct 3, 2019
…ysens/kibana into console-fix-menu-actions-alignment

* 'console-fix-menu-actions-alignment' of github.com:jloleysens/kibana: (59 commits)
  [Canvas] i18n for page manager, page preview, and shape preview (elastic#46865)
  [SIEM] hide siem data on empty string or _all (elastic#47166)
  [Uptime] Shim UI exports for new platform (elastic#44722)
  [Monitoring] Metricbeat Migration Wizard Tests (elastic#47139)
  [Logs UI] Support partitioned log rate results in API (elastic#46751)
  [APM] Remove beta badge from transaction breakdown (elastic#47163)
  test: 💍 convert Interpreter font function tests to Jest (elastic#47193)
  visualizations 👉 NP-ready (elastic#47142)
  [Uptime] Update pings chart colors (elastic#46780)
  Add scroll into view to avoid tooltip overlap (elastic#47106)
  Variety of quick a11y fixes (elastic#46569)
  [Graph] Empty workspace overlay (elastic#45547)
  [ML] Converts index and saved search selection to React (elastic#47117)
  [Uptime] Change default status filter in ping list to all on monitor page  (elastic#47108)
  refactor: 💡 convert Interpreter .js -> .ts (elastic#44545)
  Add TypeScript rules to STYLEGUIDE [skip ci] (elastic#47125)
  chore(NA): fix logic behind cleaning x-pack node modules on build (elastic#47091)
  [SIEM] Update Settings Text (elastic#47147)
  Add KQL functionality in the find function of the saved objects (elastic#41136)
  [Maps] Add 'InjectedData' class and revise so File Upload Features are assigned to new InjectedData instances (elastic#46381)
  ...
markov00 added a commit that referenced this pull request Oct 4, 2019
The current angular implementation of the tooltip, applied to the Apply button of the visualize editor, suffer from missing the mouseleave event in some cases. This cause the tooltip to remain open in some cases halting the test from clicking the underlying button.
The tooltip implementation will be soon replaced by EUI, so on this PR we are only unskipping the test and scrolling the visualize editor sidebar to avoid this overlap.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes test-matrix Use this label to ensure PRs are tested with matrix jobs v7.5.0 v8.0.0
Projects
None yet
4 participants