Skip to content

Commit

Permalink
Disable marionette tests on Position and Size tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AutomatedTester committed Jun 15, 2016
1 parent 502cef2 commit 4e2eadb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions py/test/selenium/webdriver/common/position_and_size_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,14 @@ def testShouldGetCoordinatesOfAnElementInAFrame(self):
self.assertEqual(box.location, {"x": 10, "y": 10})
self.assertEqual(self._get_location_on_page(By.ID,"box"), {"x": 10, "y": 10})

@pytest.mark.ignore_marionette
def testShouldGetCoordinatesInViewPortOfAnElementInAFrame(self):
self.driver.get(self.webserver.where_is("coordinates_tests/element_in_frame.html"))
self.driver.switch_to_frame(self.driver.find_element(By.NAME, "ifr"))
self.assertEqual(self._get_location_in_viewport(By.ID,"box"), {"x": 25, "y": 25})
self.assertEqual(self._get_location_on_page(By.ID,"box"), {"x": 10, "y": 10})

@pytest.mark.ignore_marionette
def testShouldGetCoordinatesInViewPortOfAnElementInANestedFrame(self):
self.driver.get(self.webserver.where_is("coordinates_tests/element_in_nested_frame.html"))
self.driver.switch_to_frame(self.driver.find_element(By.NAME, "ifr"))
Expand Down

0 comments on commit 4e2eadb

Please sign in to comment.