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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[馃毇 Bug] Explanation/Dialog window blocks the option to be picked #1285

Open
lgrossma opened this issue Apr 30, 2024 · 1 comment
Open
Labels
bug Something isn't working
Milestone

Comments

@lgrossma
Copy link

Describe the bug

When trying to access some element for future work, like InputBox.create(), I assume the extension tester "moves the pointer" to the location of the element and due to the "hovering mouse" over the element, it shows a windows with a dialog that blocks access to the element underneath the window. I was also experiencing similar issue with notifications.
Screenshot 2024-04-30 at 10 22 52

Steps to reproduce

1. Choose some element that shows information when hovering over it with mouse
2. Dialog window shows up when hovering over the element with mouse
3. Try to access element underneath the dialog window
4. Element is unaccessible

In my case it was this code:
inputBox = await InputBox.create();
await inputBox.selectQuickPick(INPUTS.credentialsQuickPick);

Logs

1) Extension cluster-dependant UI tests
15:37:13         Login
15:37:13           Login works when kube config is missing:
15:37:13       ElementClickInterceptedError: element click intercepted: Element <div class="monaco-list-row focused" role="option" data-index="0" data-last-element="false" data-parity="even" aria-setsize="2" aria-posinset="1" id="list_id_16_0" aria-label="Credentials, Log in to the given server using credentials" aria-level="1" draggable="false" style="top: 0px; height: 22px;">...</div> is not clickable at point (513, 104). Other element would receive the click: <div class="hover-contents" style="white-space: pre-wrap;">...</div>
15:37:13    (Session info: chrome=120.0.6099.291)
15:37:13        at Object.throwDecodedError (node_modules/selenium-webdriver/lib/error.js:521:15)
15:37:13        at parseHttpResponse (node_modules/selenium-webdriver/lib/http.js:513:13)
15:37:13        at Executor.execute (node_modules/selenium-webdriver/lib/http.js:446:28)
15:37:13        at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
15:37:13        at async Driver.execute (node_modules/selenium-webdriver/lib/webdriver.js:740:17)
15:37:13        at async QuickPickItem.select (node_modules/@redhat-developer/page-objects/out/components/workbench/input/Input.js:245:9)
15:37:13        at async InputBox.selectQuickPick (node_modules/@redhat-developer/page-objects/out/components/workbench/input/Input.js:105:13)

Operating System

Rhel 8

Visual Studio Code

max

vscode-extension-tester

8.1.0

NodeJS

18.15.0

npm

No response

@lgrossma lgrossma added bug Something isn't working new-issue New issue which was not discussed yet labels Apr 30, 2024
@lgrossma
Copy link
Author

Also a note, I experienced this issue on a VM's running on our CI (jenkins/GHA), so it may also be caused by the size of the vscode window?

@djelinek djelinek removed the new-issue New issue which was not discussed yet label May 7, 2024
@djelinek djelinek added this to the NEXT milestone May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

2 participants