Unverified Commit db6e614d authored by liuche's avatar liuche Committed by GitHub
Browse files

For #12240: Enable btime youtube-playback Fenix tests (#12760)


Co-authored-by: default avataralexandru.ionescu <alexandru.ionescu@softvision.ro>
parent f73411b9
...@@ -232,3 +232,15 @@ jobs: ...@@ -232,3 +232,15 @@ jobs:
test-name: google-search-restaurants test-name: google-search-restaurants
treeherder: treeherder:
symbol: 'Btime(tp6m-28-c)' symbol: 'Btime(tp6m-28-c)'
youtube-playback:
test-name: youtube-playback
run-visual-metrics: False
treeherder:
symbol: 'Btime(ytp)'
args:
by-abi:
# Bug 1558456 - Stop tracking youtube-playback-test on motoG5 for >1080p cases
armeabi-v7a:
- '--test-url-params=exclude=1,2,9,10,17,18,21,22,26,28,30,32,39,40,47,48,55,56,63,64,71,72,79,80,83,84,89,90,95,96'
default: []
...@@ -94,8 +94,14 @@ def build_browsertime_task(config, tasks): ...@@ -94,8 +94,14 @@ def build_browsertime_task(config, tasks):
run_visual_metrics = task.pop("run-visual-metrics", False) run_visual_metrics = task.pop("run-visual-metrics", False)
if run_visual_metrics: if run_visual_metrics:
task["run"]["command"].append("--browsertime-video") task["run"]["command"].append("--browsertime-video")
task["run"]["command"].append("--browsertime-no-ffwindowrecorder")
task["attributes"]["run-visual-metrics"] = True task["attributes"]["run-visual-metrics"] = True
# taskcluster is merging task attributes with the default ones
# resulting the --cold extra option in the ytp warm tasks
if 'youtube-playback' in task["name"]:
task["run"]["command"].remove("--cold")
yield task yield task
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment