Skip to content

Commit a14d518

Browse files
committed
skip devtools_tests.py for chrome beta
1 parent 7d1d627 commit a14d518

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

py/BUILD.bazel

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,8 @@ BIDI_TESTS = glob(["test/selenium/webdriver/common/**/*bidi*_tests.py"])
441441
"test/selenium/webdriver/common/**/*.py",
442442
"test/selenium/webdriver/support/**/*.py",
443443
],
444-
exclude = BIDI_TESTS + ["test/selenium/webdriver/common/print_pdf_tests.py"],
444+
exclude = BIDI_TESTS + ["test/selenium/webdriver/common/print_pdf_tests.py"] +
445+
(["test/selenium/webdriver/common/devtools_tests.py"] if browser == "chrome-beta" else []),
445446
),
446447
args = [
447448
"--instafail",
@@ -467,7 +468,8 @@ BIDI_TESTS = glob(["test/selenium/webdriver/common/**/*bidi*_tests.py"])
467468
"test/selenium/webdriver/common/**/*.py",
468469
"test/selenium/webdriver/support/**/*.py",
469470
],
470-
exclude = ["test/selenium/webdriver/common/print_pdf_tests.py"],
471+
exclude = ["test/selenium/webdriver/common/print_pdf_tests.py"] +
472+
(["test/selenium/webdriver/common/devtools_tests.py"] if browser == "chrome-beta" else []),
471473
),
472474
args = [
473475
"--instafail",
@@ -541,7 +543,6 @@ py_test_suite(
541543
[
542544
"test/selenium/webdriver/chrome/**/*.py",
543545
],
544-
exclude = ["test/selenium/webdriver/common/devtools_tests.py"], # see if this correctly excludes
545546
),
546547
args = [
547548
"--instafail",

0 commit comments

Comments
 (0)