Closed Bug 1329833 Opened 7 years ago Closed 10 months ago

[wdspec] Add tests for parsing of actions messages

Categories

(Remote Protocol :: Marionette, defect, P1)

defect
Points:
3

Tracking

(firefox116 fixed)

RESOLVED FIXED
116 Branch
Tracking Status
firefox116 --- fixed

People

(Reporter: impossibus, Assigned: whimboo)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [webdriver:m7], [wptsync upstream])

Attachments

(2 files)

maja_zf: Has this been done now?  I remember reviewing WPT action tests.
This bug is about tests that check the format of the json payload of the command, invalid requests, etc. 

There are xpcshell tests like that in test_action.js, but none in wpt. The wpt actions tests you reviewed mostly check the events synthesized by commands.
Priority: -- → P3
Component: Marionette → geckodriver
Summary: Add web-platform tests for parsing of actions messages → [wdspec] Add tests for parsing of actions messages
Severity: normal → S3
Component: geckodriver → Marionette
Product: Testing → Remote Protocol
Version: Version 3 → Trunk

Bringing this up for triage given that for element interaction in BiDi we want to re-use the action implementation from classic (bug 1792090) and would require such tests. We could certainly add BiDi tests first on a different bug and come back to that one afterward.

Whiteboard: [webdriver:triage]

We will pick this bug up after bug 1792090 has been landed and will create tests for BiDi as well as classic given that the assertions won't be different. Given that our focus is on BiDi lets move it to its component.

Component: Marionette → WebDriver BiDi
Depends on: 1792090
Priority: P3 → P2
Whiteboard: [webdriver:triage] → [webdriver:backlog]

Actually other implementations might not share the same code and as such it will be better to have the same tests for both protocols. As such lets move this one back to Marionette and create a new WebDriver BiDi specific bug.

Component: WebDriver BiDi → Marionette
Points: --- → 3
Priority: P2 → P1
Whiteboard: [webdriver:backlog] → [webdriver:m7]
Priority: P1 → P2
Assignee: nobody → hskupin
Status: NEW → ASSIGNED
Priority: P2 → P1
Pushed by hskupin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bde95b6dffb0
[wdspec] Add tests for parsing of actions messages. r=webdriver-reviewers,jdescottes
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/40837 for changes under testing/web-platform/tests
Whiteboard: [webdriver:m7] → [webdriver:m7], [wptsync upstream]
Status: ASSIGNED → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
Upstream PR was closed without merging
Regressions: 1841433
Blocks: 1841433
Regressions: 1841372
Regressions: 1841486
Blocks: 1841486
Pushed by hskupin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b5f7e8f33e3a
[wdspec] Extend timeout for classic/perform_actions/invalid.py.

A patch has been attached on this bug, which was already closed. Filing a separate bug will ensure better tracking. If this was not by mistake and further action is needed, please alert the appropriate party. (Or: if the patch doesn't change behavior -- e.g. landing a test case, or fixing a typo -- then feel free to disregard this message)

Upstream PR merged by jgraham
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: