Closed Bug 1793838 Opened 2 years ago Closed 2 years ago

Intermittent /webdriver/tests/perform_actions/validity.py | test_pause_positive_integer[<random>] - AssertionError: invalid argument (400): data did not match any variant of untagged enum NullActionItem | KeyActionItem | PointerActionIt

Categories

(Remote Protocol :: Marionette, defect, P1)

Default
defect
Points:
1

Tracking

(firefox107 fixed)

RESOLVED FIXED
107 Branch
Tracking Status
firefox107 --- fixed

People

(Reporter: whimboo, Assigned: whimboo)

References

(Blocks 1 open bug)

Details

(Keywords: intermittent-failure, Whiteboard: [webdriver:m5])

Attachments

(1 file)

The test is currently marked as failing.

0:16.63 INFO STDOUT: session = <Session 3805a9f9-f5b1-4300-aed7-f2ed242648a1>, action_type = 'none'
 0:16.63 INFO STDOUT:     @pytest.mark.parametrize("action_type", ["none", "key", "pointer"])
 0:16.63 INFO STDOUT:     def test_pause_positive_integer(session, action_type):
 0:16.63 INFO STDOUT:         for valid_duration in [0.0, 1]:
 0:16.63 INFO STDOUT:             actions = [{
 0:16.63 INFO STDOUT:                 "type": action_type,
 0:16.63 INFO STDOUT:                 "id": "foobar",
 0:16.63 INFO STDOUT:                 "actions": [{
 0:16.63 INFO STDOUT:                     "type": "pause",
 0:16.63 INFO STDOUT:                     "duration": valid_duration
 0:16.63 INFO STDOUT:                 }]
 0:16.63 INFO STDOUT:             }]
 0:16.63 INFO STDOUT:             response = perform_actions(session, actions)
 0:16.63 INFO STDOUT: >           assert_success(response)
 0:16.63 INFO STDOUT: action_type = 'none'
 0:16.63 INFO STDOUT: actions    = [{'actions': [{'duration': 0.0, 'type': 'pause'}],
  'id': 'foobar',
  'type': 'none'}]
 0:16.63 INFO STDOUT: response   = <Response status=400 error=<InvalidArgumentException http_status=400>>
 0:16.63 INFO STDOUT: session    = <Session 3805a9f9-f5b1-4300-aed7-f2ed242648a1>
 0:16.63 INFO STDOUT: valid_duration = 0.0
Summary: Intermittent /web-platform/tests/webdriver/tests/perform_actions/validity.py | test_pause_positive_integer[<random>] - AssertionError: invalid argument (400): data did not match any variant of untagged enum NullActionItem | KeyActionItem | PointerActionIt → Intermittent /webdriver/tests/perform_actions/validity.py | test_pause_positive_integer[<random>] - AssertionError: invalid argument (400): data did not match any variant of untagged enum NullActionItem | KeyActionItem | PointerActionIt
Pushed by hskupin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a8be5d2d36e0
[wdspec] Extend tests for pause action durations in /webdriver/tests/perform_actions/validity.py. r=webdriver-reviewers,jgraham
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/36317 for changes under testing/web-platform/tests
Assignee: nobody → hskupin
Blocks: webdriver:m5
Status: NEW → RESOLVED
Points: --- → 1
Closed: 2 years ago
Priority: -- → P1
Resolution: --- → FIXED
Whiteboard: [webdriver:m5]
Target Milestone: --- → 107 Branch
Upstream PR merged by moz-wptsync-bot
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.

Attachment

General

Created:
Updated:
Size: