Closed
Bug 1464538
Opened 7 years ago
Closed 6 years ago
[wpt-sync] Sync PR 11173 - [testdriver] Enable manual interaction
Categories
(Testing :: web-platform-tests, enhancement, P4)
Testing
web-platform-tests
Tracking
(firefox67 fixed)
RESOLVED
FIXED
mozilla67
Tracking | Status | |
---|---|---|
firefox67 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 11173 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/w3c/web-platform-tests/pull/11173
Details from upstream follow.
Mike Pennisi <mike@mikepennisi.com> wrote:
> [testdriver] Enable manual interaction
>
> The testdriver.js utility allows tests which require user input to be
> fully automated. It requires that the browser be under the control of a
> WebDriver server in order to do this.
>
> In test maintenance contexts, this requirement can slow development
> because a new browsing session must be created for each trial, and
> debugging tools such as the developer's console cannot be used.
>
> This requirement also limits the tests' value to a larger audience when
> published online. Visitors to sites like w3c-test.org are interested in
> observing test results experimentally, but although they may be capable
> of providing the expected input, the hard requirement on WebDriver will
> cause tests to fail unconditionally.
>
> Extend the framework to accept traditional human input if the test is
> being run without the WebDriver technology. This allows test authors to
> debug tests and other interested parties to verify results in browsers
> of their choosing. It does not interfere with fully-automated test
> execution.
>
> ---
>
> @gsnedders @kereliuk I'm interested in going even further with this. We could make testdriver.js-powered tests look a lot like today's manual tests by dynamically inserting instructions for human operators. That's less compelling for test authors (since they presumably know exactly what inputs are needed by their own tests), but it could make a big difference for visitors to http://w3c-test.org.
>
> Of course, any change to the document has the potential to invalidate the test, so it would need to be configurable.
>
> For now, I figured this would be a simple and safe way to make test author's lives a little easier.
>
> I'm excited to start extending tests with testdriver.js. Thanks for making it possible!
Assignee | ||
Comment 1•7 years ago
|
||
Assignee | ||
Comment 2•7 years ago
|
||
Assignee | ||
Updated•7 years ago
|
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Assignee | ||
Comment 3•7 years ago
|
||
PR 11173 applied with additional changes from upstream: 8908785565303fd7ab90afb30dda868239401895
Assignee | ||
Updated•7 years ago
|
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Assignee | ||
Comment 4•7 years ago
|
||
Assignee | ||
Comment 5•7 years ago
|
||
Assignee | ||
Comment 6•7 years ago
|
||
Assignee | ||
Comment 7•7 years ago
|
||
Assignee | ||
Comment 8•7 years ago
|
||
Assignee | ||
Comment 9•7 years ago
|
||
Assignee | ||
Comment 10•7 years ago
|
||
Assignee | ||
Comment 11•7 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=672ddc7821d310bbce8fa1ab2c5badd979ed0a5f
Assignee | ||
Comment 12•6 years ago
|
||
Comment 13•6 years ago
|
||
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/2e1f864ca504
[wpt PR 11173] - [testdriver] Enable manual interaction, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/66fb4cc72692
[wpt PR 11173] - Update wpt metadata, a=testonly
Comment 14•6 years ago
|
||
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/8dab7dd839f4
[wpt PR 11173] - [testdriver] Enable manual interaction, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/750c255d2aab
[wpt PR 11173] - Update wpt metadata, a=testonly
Assignee | ||
Comment 15•6 years ago
|
||
Comment 16•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/8dab7dd839f4
https://hg.mozilla.org/mozilla-central/rev/750c255d2aab
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox67:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in
before you can comment on or make changes to this bug.
Description
•