summaryrefslogtreecommitdiff
path: root/testing/variations/smoke/run_webdriver_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'testing/variations/smoke/run_webdriver_tests.py')
-rwxr-xr-xtesting/variations/smoke/run_webdriver_tests.py31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/variations/smoke/run_webdriver_tests.py b/testing/variations/smoke/run_webdriver_tests.py
new file mode 100755
index 000000000..4d5999e2c
--- /dev/null
+++ b/testing/variations/smoke/run_webdriver_tests.py
@@ -0,0 +1,31 @@
+#!/usr/bin/env python3
+# Copyright 2023 The Chromium Authors
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+"""Finch smoke test runner script.
+
+This is the runner script that is executed in the swarming bot. It looks up
+the test cases, downloads chrome/chromedriver if needed, and sets up webdriver
+environment.
+
+This script can be invoked from the root as:
+testing/scripts/run_isolated_script_test.py \
+ testing/variations/smoke/run_webdriver_tests.py
+
+**Working in progres**
+"""
+import pytest
+
+import sys
+
+# pylint: disable=redefined-outer-name
+@pytest.fixture
+def webdriver():
+ # return nothing for now.
+ return None
+
+def test_load_seed_no_crash(webdriver):
+ assert webdriver == None
+
+if __name__ == "__main__":
+ sys.exit(pytest.main(["-qq", __file__])) \ No newline at end of file