blob: 9a21cfbe23da1a735ec914dfd917cb1e728c1600 [file] [log] [blame]
# Copyright 2021 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/dart/test.gni")
import("//build/testing/environments.gni")
dart_test("workstation_chrome_smoke_test") {
null_safe = true
sources = [ "workstation_chrome_smoke_test.dart" ]
deps = [
"//sdk/fidl/fuchsia.input",
"//sdk/testing/sl4f/client",
"//sdk/testing/sl4f/flutter_driver_sl4f",
"//src/experiences/tests:ermine_driver",
"//third_party/dart-pkg/pub/test",
]
environments = [ atlas_env ]
}
copy("runtime_deps") {
_data_dir = "$target_gen_dir/runtime_deps"
sources = [ "//prebuilt/third_party/chromedriver/linux-x64/chromedriver" ]
outputs = [ "$_data_dir/{{source_file_part}}" ]
metadata = {
test_runtime_deps = [ "$_data_dir/chromedriver" ]
}
}
group("test") {
testonly = true
if (is_host && is_linux) {
# Chromedriver prebuilt is only available for linux-x64
deps = [ ":workstation_chrome_smoke_test($host_toolchain)" ]
}
}