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

Combobox in AXTree not clickable for WorkArena filter task #201

Open
imenelydiaker opened this issue Oct 23, 2024 · 2 comments
Open

Combobox in AXTree not clickable for WorkArena filter task #201

imenelydiaker opened this issue Oct 23, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@imenelydiaker
Copy link
Collaborator

Hi all,

Any idead why the element "a1033" is not clickable ?

Task: workarena.servicenow.filter-asset-list

Action: click('a1033')

Error:

TimeoutError: Timeout 500ms exceeded.
=========================== logs ===========================
waiting for get_by_test_id("a").frame_locator(":scope").get_by_test_id("a1033")
  locator resolved to <input value="" type="text" bid="a1033" role="combobox"…/>
attempting click action
  waiting for element to be visible, enabled and stable
  element is visible, enabled and stable
  scrolling into view if needed
  done scrolling
  <a bid="a1034" tabindex="-1" role="button" aria-hid…>…</a> intercepts pointer events
retrying click action, attempt #1
  waiting for element to be visible, enabled and stable
  element is visible, enabled and stable
  scrolling into view if needed
  done scrolling
  <a bid="a1034" tabindex="-1" role="button" aria-hid…>…</a> intercepts pointer events
retrying click action, attempt #2
  waiting 20ms
  waiting for element to be visible, enabled and stable
  element is visible, enabled and stable
  scrolling into view if needed
  done scrolling
  <a bid="a1034" tabindex="-1" role="button" aria-hid…>…</a> intercepts pointer events
retrying click action, attempt #3
  waiting 100ms
  waiting for element to be visible, enabled and stable
  element is visible, enabled and stable
  scrolling into view if needed
  done scrolling
  <a bid="a1034" tabindex="-1" role="button" aria-hid…>…</a> intercepts pointer events
retrying click action, attempt #4
  waiting 100ms
  waiting for element to be visible, enabled and stable
  element is visible, enabled and stable
  scrolling into view if needed
  done scrolling
  <a bid="a1034" tabindex="-1" role="button" aria-hid…>…</a> intercepts pointer events
retrying click action, attempt #5
  waiting 500ms
============================================================

AXTree:

[a1029] row ''
	[a1030] gridcell ''
	[a1031] gridcell '-- choose field -- -- choose field --'
		[a1033] combobox 'All of these conditions must be met. -- choose field --', hasPopup='listbox', expanded=False
	[a1125] gridcell '-- oper --'
		[a1126] combobox 'Operator For Condition 1: -- choose field -- -- oper --' value='-- oper --', disabled=True, hasPopup='menu', expanded=False
			[a1127] menuitem '-- oper --', disabled=True
	[a1128] gridcell '-- value --'
		[a1129] textbox 'Input value' value='-- value --', disabled=True
			StaticText '-- value --'

DOM:

<td bid="a1031" class="sn-filter-top condition-row__field-cell" id="field">
  <div bid="a1032" class="select2-container filerTableSelect select2 form-control filter_type" id="s2id_autogen1" role="none" style="vertical-align: top;" title="Choose option">
   <input aria-controls="select2-drop" aria-expanded="false" aria-label="All of these conditions must be met. -- choose field --" bid="a1033" class="select2-focusser select2-offscreen" id="s2id_autogen2" role="combobox" type="text" value=""/>
   <a aria-hidden="true" bid="a1034" class="select2-choice" href="javascript:void(0)" role="button" tabindex="-1">
    <span bid="a1035" class="select2-chosen" id="select2-chosen-2">
     -- choose field --
    </span>
@gasse
Copy link
Collaborator

gasse commented Oct 23, 2024

Thanks @imenelydiaker for reporting this! Can you give us the seed as well? I'll try to reproduce on my end

@gasse gasse added the bug Something isn't working label Oct 23, 2024
@imenelydiaker
Copy link
Collaborator Author

Thanks @imenelydiaker for reporting this! Can you give us the seed as well? I'll try to reproduce on my end

For this experiment the seed was 84.
Note that the issue was recurrent in other filter tasks, and the gridcell before the combobox is clickable.

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
None yet
Development

No branches or pull requests

2 participants