Add cli_functional.py script to firefox_ui_harness for backward compatibility

RESOLVED FIXED in Firefox 43

Status

Testing
Firefox UI Tests
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: whimboo, Assigned: whimboo)

Tracking

45 Branch
mozilla46
Points:
---

Firefox Tracking Flags

(firefox43 fixed, firefox44 fixed, firefox45 fixed, firefox46 fixed, firefox-esr38 fixed)

Details

Attachments

(2 attachments)

Right now mozharness uses the runtests.py and cli_update.py scripts directly to call into the tests. To keep backward compatibility for the packaging changes we should add the cli_functional.py script.

Then mozharness can do something like:

> script = cli_update.py
> [..]
> import firefox_ui_harness
> path = os.path.join(firefox_ui_harness.__file__, script)
Summary: Update exports of CLI methods for firefox_ui_harness → Add cli_functional.py script to firefox_ui_harness for backward compatibility
Created attachment 8700754 [details] [review]
Github PR
Attachment #8700754 - Flags: review?(mjzffr)
Attachment #8700754 - Flags: review?(mjzffr) → review+
Merged the PR to mozilla-central as:
https://github.com/mozilla/firefox-ui-tests/commit/46f0ab983bb2938370bbc4a0ce5defbd5b3a07f2
status-firefox43: --- → affected
status-firefox44: --- → affected
status-firefox45: --- → affected
status-firefox46: --- → fixed
status-firefox-esr38: --- → affected
Target Milestone: --- → Firefox 46
Created attachment 8701032 [details] [review]
Github PR (backport)
Attachment #8701032 - Flags: review?(mjzffr)
Attachment #8701032 - Flags: review?(mjzffr) → review+
Cherry-picked for mozilla-esr38:
https://github.com/mozilla/firefox-ui-tests/commit/7f3ae3e55dde7c4503d16774ae3d3c7337d6a053
Status: ASSIGNED → RESOLVED
Last Resolved: 3 years ago
status-firefox-esr38: affected → fixed
Resolution: --- → FIXED
Product: Mozilla QA → Testing
You need to log in before you can comment on or make changes to this bug.