Example #1
0
 def test_past_glean_has_no_edit_glean_button(self):
     title = create_new_glean(self, timedelta=-5)
     try:
         edit = self.browser.find_element_by_partial_link_text('Edit Glean')
     except:
         edit = None
     self.assertIsNone(edit)
Example #2
0
 def test_maximum_glean_can_be_created(self):
     title = create_new_glean(self, maximum=True)
     h2 = self.browser.find_element_by_tag_name('h2')
     self.assertIn(title, h2.text)