Skip to content

Commit

Permalink
Disable tests that are not working
Browse files Browse the repository at this point in the history
  • Loading branch information
AutomatedTester committed Oct 2, 2015
1 parent 2f7ff07 commit 6ce3241
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions py/test/selenium/webdriver/common/page_loading_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,19 @@

from selenium.webdriver.common.by import By

@pytest.mark.ignore_marionette
class PageLoadingTests(unittest.TestCase):

def testShouldWaitForDocumentToBeLoaded(self):
self._loadSimplePage()

self.assertEqual(self.driver.title, "Hello WebDriver")

# Disabled till Java WebServer is used
#def testShouldFollowRedirectsSentInTheHttpResponseHeaders(self):
# self.driver.get(pages.redirectPage);
# self.assertEqual(self.driver.title, "We Arrive Here")

# Disabled till the Java WebServer is used
#def testShouldFollowMetaRedirects(self):
# self._loadPage("metaRedirect")
Expand All @@ -50,7 +51,7 @@ def testShouldReturnWhenGettingAUrlThatDoesNotResolve(self):
self.driver.get("http://www.thisurldoesnotexist.comx/")
except ValueError:
pass

@pytest.mark.ignore_safari
def testShouldReturnWhenGettingAUrlThatDoesNotConnect(self):
# Here's hoping that there's nothing here. There shouldn't be
Expand All @@ -59,7 +60,7 @@ def testShouldReturnWhenGettingAUrlThatDoesNotConnect(self):
#@Ignore({IE, IPHONE, SELENESE})
#def testShouldBeAbleToLoadAPageWithFramesetsAndWaitUntilAllFramesAreLoaded() {
# self.driver.get(pages.framesetPage);

# self.driver.switchTo().frame(0);
# WebElement pageNumber = self.driver.findElement(By.xpath("#span[@id='pageNumber']"));
# self.assertEqual((pageNumber.getText().trim(), equalTo("1"));
Expand Down Expand Up @@ -129,4 +130,3 @@ def _loadSimplePage(self):

def _loadPage(self, name):
self.driver.get(self._pageURL(name))

2 changes: 1 addition & 1 deletion py/test/selenium/webdriver/common/select_class_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def testMethod(self):
multiSelectValues1 = { 'name': 'multi', 'values': ['Eggs', 'Ham', 'Sausages', 'Onion gravy']}
multiSelectValues2 = { 'name': 'select_empty_multiple', 'values': ['select_1', 'select_2', 'select_3', 'select_4']}

@pytest.mark.ignore_marionette
class WebDriverSelectSupportTests(unittest.TestCase):

def testSelectByIndexSingle(self):
Expand Down Expand Up @@ -312,4 +313,3 @@ def _pageURL(self, name):

def _loadPage(self, name):
self.driver.get(self._pageURL(name))

0 comments on commit 6ce3241

Please sign in to comment.