Closed Bug 1300551 Opened 8 years ago Closed 5 years ago

Allow tests to specify their own document root of supporting files for wptserve

Categories

(Remote Protocol :: Marionette, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: whimboo, Unassigned)

References

Details

To allow us to split the Firefox ui tests across the tree on bug 1272145, we need a solution for wptserve and locally served test files. I don't see that we want to keep a single folder with test files under testing/firefox_ui/resources. Instead we could declare support_files via the manifest, and spin up a new server if needed.

With that we might be able to remove the --server-root command line option. But I think we want to keep it to retain compatibility if only a single test needs to be executed for customers outside the tree.

Andreas has some upcoming changes for wptserve on bug 1103196, which I might have to wait for.
Summary: Allow tests to specify their own document root for wptserve → Allow tests to specify their own document root of supporting files for wptserve
Blocks: 1312359
Priority: -- → P3
Priority: P3 → P5

Given that Marionette client and harness won't live that long anymore, I think it's totally fine to allow tests to put their resources at the known location for Marionette, but to use a subfolder. So I'm not targeting any major refactoring work as this bug was intended to do.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.