1
0
Fork 0

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

Co-authored-by: alexandru.ionescu <alexandru.ionescu@softvision.ro>
master
liuche 2020-07-20 16:09:18 -07:00 committed by GitHub
parent f73411b924
commit db6e614d11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 0 deletions

View File

@ -232,3 +232,15 @@ jobs:
test-name: google-search-restaurants
treeherder:
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: []

View File

@ -94,8 +94,14 @@ def build_browsertime_task(config, tasks):
run_visual_metrics = task.pop("run-visual-metrics", False)
if run_visual_metrics:
task["run"]["command"].append("--browsertime-video")
task["run"]["command"].append("--browsertime-no-ffwindowrecorder")
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