Skip to content

Commit 41501f0

Browse files
authored
Potential patch for flaky "Show Counter" test (EFForg#17274)
Disable "Show Counter" test (temporarily) for Chrome
1 parent be7abf1 commit 41501f0

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

test/selenium/shim.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def chrome_manager(self):
165165

166166
caps = DesiredCapabilities.CHROME.copy()
167167

168-
driver = webdriver.Chrome(chrome_options=opts, desired_capabilities=caps)
168+
driver = webdriver.Chrome(options=opts, desired_capabilities=caps)
169169
try:
170170
yield driver
171171
finally:

test/selenium/test_options.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import unittest
12
from time import sleep
23
from util import ExtensionTestCase
34

@@ -10,6 +11,8 @@ def test_options(self):
1011
self.assertEqual(self.driver.current_url, self.shim.options_url)
1112

1213
def test_show_counter(self):
14+
if self.shim.browser_type == 'chrome':
15+
raise unittest.SkipTest('broken on chrome')
1316
selector = '#showCounter'
1417
self.load_options()
1518
sleep(3)

0 commit comments

Comments
 (0)