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

Enketo labels are not interactable #8669

Closed
dianabarsan opened this issue Oct 27, 2023 · 2 comments
Closed

Enketo labels are not interactable #8669

dianabarsan opened this issue Oct 27, 2023 · 2 comments
Assignees
Labels
Regression Affects a feature that worked in a previous release Type: Bug Fix something that isn't working as intended
Milestone

Comments

@dianabarsan
Copy link
Member

dianabarsan commented Oct 27, 2023

Describe the bug
Due to labels now having display: contents, they are no longer interactable. This means they are visually rendered correctly, but they cannot receive clicks or other actions from the user.
Latest version of WebdriverIO requires elements to be interactable in order to get or receive values from. This behavior can be also viewed in Chrome dev tools when hovering over elements.

To Reproduce

Expected behavior
The user should be able to interact with elements that are visible on the page.

Logs
Sample of wdio logs when trying to get text from labels: https://github.com/medic/cht-core/actions/runs/6649138918/job/18067409025#step:16:626

Video

uninteractable.mp4

Environment

  • Browser: Chrome
  • App: Webapp
  • Version: 4.5

Additional context
Introduced by a2d0cca

@dianabarsan dianabarsan added Type: Bug Fix something that isn't working as intended Regression Affects a feature that worked in a previous release labels Oct 27, 2023
@dianabarsan dianabarsan added this to the 4.5.0 milestone Oct 27, 2023
@latin-panda
Copy link
Contributor

Pasting logs here since they have a limited life time at GHA

2023-10-26T03:58:30.703Z ERROR webdriver: Request failed with status 400 due to element not interactable: element not interactable
[0-3]   (Session info: headless chrome=118.0.5993.70)
[0-3] element not interactable in "Create user when adding contact.creates a new user while online"
element not interactable: element not interactable
  (Session info: headless chrome=118.0.5993.70)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Object.addPerson (/home/runner/work/cht-core/cht-core/tests/page-objects/default/contacts/contacts.wdio.page.js:191:3)
    at async Context.<anonymous> (/home/runner/work/cht-core/cht-core/tests/e2e/default/transitions/create-user-for-contacts.create-user.wdio-spec.js:159:5)
[0-3] 2023-10-26T03:58:38.602Z ERROR webdriver: Request failed with status 500 due to move target out of bounds: move target out of bounds
[0-3]   (Session info: headless chrome=118.0.5993.70)

@latin-panda
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Regression Affects a feature that worked in a previous release Type: Bug Fix something that isn't working as intended
Projects
Status: Done
Development

No branches or pull requests

2 participants