Closed Bug 1762120 Opened 3 years ago Closed 3 years ago

Intermittent Android Wd | test_dismiss[capabilities0-alert-None] - AssertionError: assert '' == '<random>'

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)

With the upcoming support for wdspec tests on Android the following tests fail because of some weirdness with mouse clicks.

https://treeherder.mozilla.org/logviewer?job_id=372683561&repo=try&lineNumber=105823

[task 2022-03-29T12:45:32.067Z] 12:45:32     INFO - 
[task 2022-03-29T12:45:32.067Z] 12:45:32     INFO -     def check_user_prompt_closed_without_exception(dialog_type, retval):
[task 2022-03-29T12:45:32.067Z] 12:45:32     INFO -         create_dialog(dialog_type, text=dialog_type)
[task 2022-03-29T12:45:32.067Z] 12:45:32     INFO -     
[task 2022-03-29T12:45:32.068Z] 12:45:32     INFO -         response = perform_actions(session, actions)
[task 2022-03-29T12:45:32.068Z] 12:45:32     INFO -         assert_success(response)
[task 2022-03-29T12:45:32.068Z] 12:45:32     INFO -     
[task 2022-03-29T12:45:32.068Z] 12:45:32     INFO -         assert_dialog_handled(session, expected_text=dialog_type, expected_retval=retval)
[task 2022-03-29T12:45:32.068Z] 12:45:32     INFO -     
[task 2022-03-29T12:45:32.068Z] 12:45:32     INFO - >       assert get_keys(key_reporter) == "a"
[task 2022-03-29T12:45:32.068Z] 12:45:32     INFO - E       AssertionError: assert '' == 'a'
[task 2022-03-29T12:45:32.068Z] 12:45:32     INFO - E         - a

Somehow the key is not pressed or not recognized.

Actually multiple tests are affected here:

  • /webdriver/tests/element_send_keys/user_prompts.py
  • /webdriver/tests/perform_actions/user_prompts.py
Summary: Intermittent Android /webdriver/tests/perform_actions/user_prompts.py | test_dismiss[capabilities0-alert-None] - AssertionError: assert '' == 'a' → Intermittent Android Wd | test_dismiss[capabilities0-alert-None] - AssertionError: assert '' == '<random>'

Should be fixed with the patch on bug 1762543.

Depends on: 1762543
Assignee: nobody → ohall
Severity: -- → S3
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.