Home | History | Annotate | Download | only in video_VimeoVideoWPR
      1 # Copyright 2015 The Chromium OS Authors. All rights reserved.
      2 # Use of this source code is governed by a BSD-style license that can be
      3 # found in the LICENSE file.
      4 
      5 AUTHOR = "mussa, chromeos-video"
      6 NAME = "video_VimeoVideoWPR"
      7 PURPOSE = "Verify that Vimeo (html5) video works"
      8 CRITERIA = ""
      9 ATTRIBUTES = "suite:bvt-perbuild"
     10 SUITE = "bvt-perbuild"
     11 TIME = "SHORT"
     12 TEST_CATEGORY = "General"
     13 TEST_CLASS = "video"
     14 TEST_TYPE = "server"
     15 
     16 # TODO(crbug.com/470962) This test can not use server-side package until gsutil
     17 # is supported in container.
     18 REQUIRE_SSP = False
     19 
     20 DOC = """
     21 Pulls WebPageReplay archives from storage onto devices, and uses them to verify
     22 that vimeo videos play.
     23 
     24 """
     25 
     26 from autotest_lib.server.cros import gsutil_wrapper
     27 from autotest_lib.server import autotest
     28 
     29 def run(machine):
     30     host = hosts.create_host(machine)
     31 
     32     gsutil_wrapper.copy_private_bucket(host=host,
     33                                        bucket='gs://chrome-partner-telemetry',
     34                                        filename='insight.wpr',
     35                                        destination='/usr/local')
     36 
     37     at = autotest.Autotest(host)
     38     at.run_test('video_VimeoVideo')
     39 
     40 parallel_simple(run, machines)
     41