1# Copyright 2017 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 5from autotest_lib.server import test 6from autotest_lib.server.cros.multimedia import remote_facade_factory 7 8 9class enterprise_CFM_AutotestSmokeTest(test.test): 10 """ 11 Server side autotest smoke test for CfM platforms. 12 Start the chrome browser, opens 'chrome://version' and then closes the tab. 13 """ 14 version = 1 15 16 17 def run_once(self, host): 18 """Runs the smoke test.""" 19 factory = remote_facade_factory.RemoteFacadeFactory(host) 20 browser_facade = factory.create_browser_facade() 21 tab_descriptor = browser_facade.new_tab('chrome://version') 22 browser_facade.close_tab(tab_descriptor) 23 24