[wpt-sync] Sync PR 21096 - Add test automation for manual native file system tests.
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox74 fixed)
Tracking | Status | |
---|---|---|
firefox74 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 21096 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/21096
Details from upstream follow.
Marijn Kruisselbrink <mek@chromium.org> wrote:
Add test automation for manual native file system tests.
This adds two new methods to testRunner:
- getWritableDirectory, which returns the path to an an
(empty, per test) temporary directory. And- setFilePathForMockFileDialog, which causes all file dialogs that
are shown by the test to return the provided file path.This is then used to automate the otherwise manual native file system
web platform tests that try to interact with the actual native native
file system implementation (as opposed to the sandboxed file system).Also rename the filenames of these manual tests so the test system
actually correctly picks them up. Unfortunately not all of the tests
are currently passing, so this also checks in test expectations for
the failing tests.Bug: 998917
Change-Id: I0c9100d39387bb211c3108c7566937af0e75db68Reviewed-on: https://chromium-review.googlesource.com/1989369
WPT-Export-Revision: 0922f856ac44ee8d2c977f42da9f97db41eda81c
Assignee | ||
Comment 1•4 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=0e48a6910e8060deafa66ade48d64d57c2a26871
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e96a9ecad0d0 [wpt PR 21096] - Add test automation for manual native file system tests., a=testonly
Assignee | ||
Comment 3•4 years ago
|
||
Test result changes from PR not available.
Comment 4•4 years ago
|
||
bugherder |
Description
•