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 TIME = "SHORT"
     10 TEST_CATEGORY = "General"
     11 TEST_CLASS = "video"
     12 TEST_TYPE = "server"
     13 
     14 # TODO(crbug.com/470962) This test can not use server-side package until gsutil
     15 # is supported in container.
     16 REQUIRE_SSP = False
     17 
     18 DOC = """
     19 Pulls WebPageReplay archives from storage onto devices, and uses them to verify
     20 that vimeo videos play.
     21 
     22 """
     23 
     24 from autotest_lib.server.cros import gsutil_wrapper
     25 from autotest_lib.server import autotest
     26 
     27 def run(machine):
     28     host = hosts.create_host(machine)
     29 
     30     gsutil_wrapper.copy_private_bucket(host=host,
     31                                        bucket='gs://chrome-partner-telemetry',
     32                                        filename='insight.wpr',
     33                                        destination='/usr/local')
     34 
     35     at = autotest.Autotest(host)
     36     at.run_test('video_VimeoVideo')
     37 
     38 parallel_simple(run, machines)
     39