Closed Bug 1473814 Opened 6 years ago Closed 6 years ago

Add user prompt tests for more WebDriver commands

Categories

(Testing :: geckodriver, enhancement, P1)

enhancement

Tracking

(firefox64 fixed)

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: whimboo, Assigned: whimboo)

References

Details

Attachments

(1 file)

This bug should track the work to get all the remaining user prompt tests added. Once I'm back from PTO I will file individual bugs for each command, and make those most likely mentored bugs. The steps should be the following: 1) There are commands which already have user prompt tests but those are not fully done yet. Complete those first. 2) Take existing user prompt tests as template to get the tests added for all the remaining commands.
Depends on: 1473553
No longer depends on: 1264259
Depends on: 1264259
Depends on: 1392274
Depends on: 1439995
Well, lets not keep this bug as meta bug but let me just add all those tests. If new dependencies will appear, I will still mark them as such.
Assignee: nobody → hskupin
Status: NEW → ASSIGNED
Priority: -- → P1
Summary: [meta] Add remaining user prompt tests for WebDriver commands → Add remaining user prompt tests for WebDriver commands
Depends on: 1479850
Depends on: 1488682
Please note that we cannot add those tests yet for Element Click and Element Clear due to: https://github.com/w3c/webdriver/issues/1191 Or we just go ahead and land them for test coverage to make the WebDriver spec change?
Have you considered submitting a patch for the spec to see if that generates some feedback from other vendors? If there is a continued lack of responsiveness I suggest that we go ahead and do the Right Thing. But you’re right of course that the spec needs to be updated to be inline with the tests first.
(In reply to Andreas Tolfsen ❲:ato❳ from comment #3) > Have you considered submitting a patch for the spec to see if that > generates some feedback from other vendors? Not yet. But I did it now: https://github.com/w3c/webdriver/pull/1303
Please note that I cannot add those tests for all the commands given that there is some uncertainty. See https://github.com/w3c/webdriver/issues/1086. As such I will add as many as I can.
Summary: Add remaining user prompt tests for WebDriver commands → Add user prompt tests for more WebDriver commands
This adds the user prompt tests for those commands which clearly have to handle the prompt. But it still leaves out those commands where the behavior hasn't been clarified yet.
Comment on attachment 9012222 [details] Bug 1473814 - [wdspec] Add user prompt tests for more WebDriver commands. Andreas Tolfsen ❲:ato❳ has approved the revision.
Attachment #9012222 - Flags: review+
Pushed by hskupin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f8d681cc1d4c [wdspec] Add user prompt tests for more WebDriver commands. r=ato
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/13232 for changes under testing/web-platform/tests
Upstream PR was closed without merging
Oh, I have no idea how a change to testing/marionette/harness/marionette_harness/tests/unit/test_switch_frame.py has been sneaked in here. We didn't even notice that in the review cycle. Sorry for that. I'm going to remove that file and the changes for MANIFEST.json before pushing again.
Flags: needinfo?(hskupin)
Pushed by hskupin@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/8d9b9e65f068 [wdspec] Add user prompt tests for more WebDriver commands.
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Blocks: 1503015
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: