Skip to content

Commit

Permalink
[chromedriver] Remove MobileEmulationCapabilityTest.testHoverOverElem…
Browse files Browse the repository at this point in the history
…ent.

As of M44, Chrome no longer fires a mouseover event in mobile emulation mode.

BUG=

Review URL: https://codereview.chromium.org/1161693002

Cr-Commit-Position: refs/heads/master@{#331594}
  • Loading branch information
samuong authored and Commit bot committed May 27, 2015
1 parent 40ae024 commit a37f59b
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions chrome/test/chromedriver/test/run_py_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -1334,20 +1334,6 @@ def testSendKeysToElement(self):
value = driver.ExecuteScript('return arguments[0].value;', text)
self.assertEquals('0123456789+-*/ Hi, there!', value)

def testHoverOverElement(self):
driver = self.CreateDriver(
mobile_emulation = {'deviceName': 'Google Nexus 5'})
driver.Load('about:blank')
div = driver.ExecuteScript(
'document.body.innerHTML = "<div>old</div>";'
'var div = document.getElementsByTagName("div")[0];'
'div.addEventListener("mouseover", function() {'
' document.body.appendChild(document.createElement("br"));'
'});'
'return div;')
div.HoverOver()
self.assertEquals(1, len(driver.FindElements('tag name', 'br')))

def testClickElement(self):
driver = self.CreateDriver(
mobile_emulation = {'deviceName': 'Google Nexus 5'})
Expand Down

0 comments on commit a37f59b

Please sign in to comment.