• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
5AUTHOR = "mussa, chromeos-video"
6NAME = "video_VimeoVideoWPR"
7PURPOSE = "Verify that Vimeo (html5) video works"
8CRITERIA = ""
9TIME = "SHORT"
10TEST_CATEGORY = "General"
11TEST_CLASS = "video"
12TEST_TYPE = "server"
13
14# TODO(crbug.com/470962) This test can not use server-side package until gsutil
15# is supported in container.
16REQUIRE_SSP = False
17
18DOC = """
19Pulls WebPageReplay archives from storage onto devices, and uses them to verify
20that vimeo videos play.
21
22"""
23
24from autotest_lib.server.cros import gsutil_wrapper
25from autotest_lib.server import autotest
26
27def 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
38parallel_simple(run, machines)
39