def test_osmajor_excluded_is_not(self):
     b = self.browser
     b.get(get_server_base() + 'tasks')
     b.find_element_by_class_name('search-query').send_keys('-excluded_osmajor:%s' % self.osmajor_one)
     b.find_element_by_class_name('grid-filter').submit()
     check_task_search_results(b, absent=[self.task_three],
             present=[self.task_one, self.task_two])
Example #2
0
 def test_osmajor_excluded_is_not(self):
     b = self.browser
     b.get(get_server_base() + 'tasks')
     b.find_element_by_class_name('search-query').send_keys(
         '-excluded_osmajor:%s' % self.osmajor_one)
     b.find_element_by_class_name('grid-filter').submit()
     check_task_search_results(b,
                               absent=[self.task_three],
                               present=[self.task_one, self.task_two])
Example #3
0
 def test_osmajor_is_not(self):
     b = self.browser
     b.get(get_server_base() + 'tasks')
     b.find_element_by_link_text('Show Search Options').click()
     wait_for_animation(b, '#searchform')
     Select(b.find_element_by_id('tasksearch_0_table'))\
         .select_by_visible_text('OSMajor')
     Select(b.find_element_by_id('tasksearch_0_operation'))\
         .select_by_visible_text('is not')
     b.find_element_by_id('tasksearch_0_value').send_keys(self.osmajor_one)
     b.find_element_by_id('searchform').submit()
     check_task_search_results(b, present=[self.task_three],
             absent=[self.task_one, self.task_two])
Example #4
0
 def test_osmajor_is_not(self):
     b = self.browser
     b.get(get_server_base() + 'tasks')
     b.find_element_by_link_text('Show Search Options').click()
     wait_for_animation(b, '#searchform')
     Select(b.find_element_by_id('tasksearch_0_table'))\
         .select_by_visible_text('OSMajor')
     Select(b.find_element_by_id('tasksearch_0_operation'))\
         .select_by_visible_text('is not')
     b.find_element_by_id('tasksearch_0_value').send_keys(self.osmajor_one)
     b.find_element_by_id('searchform').submit()
     check_task_search_results(b,
                               present=[self.task_three],
                               absent=[self.task_one, self.task_two])