Closed Bug 1762248 Opened 3 years ago Closed 3 years ago

Intermittent Android /webdriver/tests/element_click/user_prompts.py | <test name>- assert <Element <ID>> == <Element <ID>>

Categories

(Remote Protocol :: Marionette, defect, P5)

Default
All
Android
defect

Tracking

(firefox-esr91 unaffected, firefox99 unaffected, firefox100 fixed, firefox101 fixed)

RESOLVED FIXED
101 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox99 --- unaffected
firefox100 --- fixed
firefox101 --- fixed

People

(Reporter: whimboo, Assigned: olivia)

References

(Blocks 1 open bug)

Details

(Keywords: intermittent-failure, test-disabled)

With the upcoming support for wdspec tests on Android the following test sometimes fails because the input element isn't focused by the WebDriver:ElementClick command when a prompt implicitly gets closed. Instead the body element still remains in focus.

https://treeherder.mozilla.org/logviewer?job_id=372828135&repo=try&lineNumber=18131

[task 2022-03-30T13:56:39.087Z] 13:56:39     INFO - >       assert session.active_element == element
[task 2022-03-30T13:56:39.087Z] 13:56:39     INFO - E       assert <Element 6c39807d-f932-417d-a063-a7b259477f46> == <Element df584a93-446e-474b-9d89-fdec82a03edb>
[task 2022-03-30T13:56:39.087Z] 13:56:39     INFO - E         +<Element 6c39807d-f932-417d-a063-a7b259477f46>
[task 2022-03-30T13:56:39.087Z] 13:56:39     INFO - E         -<Element df584a93-446e-474b-9d89-fdec82a03edb>

Given that it fails quite often I'm going to disable the test.

Actually it fails intermittently for at least two tests:

https://treeherder.mozilla.org/logviewer?job_id=372828163&repo=try

  • test_dismiss[capabilities0-confirm-False]
  • test_dismiss[capabilities0-prompt-None]
Summary: Intermittent /webdriver/tests/element_click/user_prompts.py | test_dismiss[capabilities0-prompt-None] - assert <Element <ID>> == <Element <ID>> → Intermittent /webdriver/tests/element_click/user_prompts.py | <test name>- assert <Element <ID>> == <Element <ID>>

This could be similar to bug 1762123. The prompter ui might not have been completely gone and as such the click doesn't have an effect.

See Also: → 1762123
See Also: → 1762506
Summary: Intermittent /webdriver/tests/element_click/user_prompts.py | <test name>- assert <Element <ID>> == <Element <ID>> → Intermittent Android /webdriver/tests/element_click/user_prompts.py | <test name>- assert <Element <ID>> == <Element <ID>>
See Also: 1762506
Depends on: 1762543
Assignee: nobody → ohall
Severity: -- → S4
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch
Moving bug to Remote Protocol::Marionette component per bug 1815831.
Component: geckodriver → Marionette
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.