Skip to content

Commit ad9c5cb

Browse files
authored
[py][rb] Fix CDP related tests
1 parent 0b98c78 commit ad9c5cb

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

py/BUILD.bazel

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -520,10 +520,13 @@ py_test_suite(
520520
py_test_suite(
521521
name = "test-firefox",
522522
size = "large",
523-
srcs = glob([
524-
"test/selenium/webdriver/marionette/**/*.py",
525-
"test/selenium/webdriver/firefox/**/*.py",
526-
]),
523+
srcs = glob(
524+
[
525+
"test/selenium/webdriver/marionette/**/*.py",
526+
"test/selenium/webdriver/firefox/**/*.py",
527+
],
528+
exclude = ["test/selenium/webdriver/common/devtools_tests.py"],
529+
),
527530
args = [
528531
"--instafail",
529532
] + BROWSERS["firefox"]["args"],

py/test/selenium/webdriver/common/devtools_tests.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121

2222
@pytest.mark.xfail_safari
2323
@pytest.mark.xfail_firefox
24+
@pytest.mark.xfail_remote
2425
def test_check_console_messages(driver, pages):
2526
with pytest.warns(None) as record:
2627
devtools, connection = driver.start_devtools()

rb/spec/integration/selenium/webdriver/devtools_spec.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,6 @@ module WebDriver
112112
expect(logs).to include(
113113
an_object_having_attributes(type: :log, args: [hash_including('type' => 'object')])
114114
)
115-
expect(logs).to include(
116-
an_object_having_attributes(type: :log, args: [hash_including('location')])
117-
)
118115
end
119116

120117
it 'notifies about exceptions' do

0 commit comments

Comments
 (0)