Beispiel #1
0
 def test_element_selected_when_not_selected(self):
     self.marionette.navigate(unselected_element)
     el = self.marionette.find_element(By.TAG_NAME, "option")
     unselected = expected.element_selected(el)(self.marionette)
     self.assertFalse(unselected)
Beispiel #2
0
 def test_element_selected_when_not_selected(self):
     self.marionette.navigate(unselected_element)
     el = self.marionette.find_element(By.TAG_NAME, "option")
     unselected = expected.element_selected(el)(self.marionette)
     self.assertFalse(unselected)
Beispiel #3
0
 def test_element_selected(self):
     self.marionette.navigate(selected_element)
     el = self.marionette.find_element(By.TAG_NAME, "option")
     selected = expected.element_selected(el)(self.marionette)
     self.assertTrue(selected)
Beispiel #4
0
 def test_element_selected(self):
     self.marionette.navigate(selected_element)
     el = self.marionette.find_element(By.TAG_NAME, "option")
     selected = expected.element_selected(el)(self.marionette)
     self.assertTrue(selected)