'Helper method for all scroll to tag tests'

def _scroll_to_tag_and_verify(self, tag_name, group_index):

    self.notes_page.notes[1].go_to_tag(tag_name)
    pear_group = self.notes_page.tag_groups[group_index]
    self.assertEqual((tag_name + '    (3)'), pear_group.title)
    self.assertTrue(pear_group.scrolled_to_top(group_index))
